public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	arnd@arndb.de, jic23@cam.ac.uk
Subject: Re: Issue with porting i2c driver to k3.10 (iio)
Date: Thu, 4 Jul 2013 09:19:11 -0700	[thread overview]
Message-ID: <20130704161911.GC20907@kroah.com> (raw)
In-Reply-To: <CAGH3droX_J9JJ60EP6d62Sh6MK6T5WvYTq+uwcmJkwb0c1Yurg@mail.gmail.com>

On Thu, Jul 04, 2013 at 04:16:43PM +0300, Oleksandr Kravchenko wrote:
> Hi All,
> 
> I wrote i2c driver for APDS-9300 light sensor in drivers/misc, but I have some
> questions regarding upstreaming of it.
> 1. It works properly in kernel-3.4, but it works very slow in kernel-3.10 (on
> mutex and i2c operations, particulary on mutex_lock() and i2c_smbus_read_data
> ()). Does anyone know why this issue may be occurred?

What is "slow"?  Have you run 'perf' on the driver to see where it is
spending time?

> 2. Can I send this driver without using Industrial I/O framework?

No, why would you even want to?

greg k-h

       reply	other threads:[~2013-07-04 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGH3droX_J9JJ60EP6d62Sh6MK6T5WvYTq+uwcmJkwb0c1Yurg@mail.gmail.com>
2013-07-04 16:19 ` Greg KH [this message]
2013-07-06 11:47   ` Issue with porting i2c driver to k3.10 (iio) Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130704161911.GC20907@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=o.v.kravchenko@globallogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox