From: "Sricharan" <sricharan@codeaurora.org>
To: 'Michael Welling' <mwelling@ieee.org>
Cc: 'Daniel Baluta' <daniel.baluta@intel.com>,
'Wolfram Sang' <wsa@the-dreams.de>,
'Jonathan Cameron' <jic23@kernel.org>,
'Hartmut Knaack' <knaack.h@gmx.de>,
'Lars-Peter Clausen' <lars@metafoo.de>,
'Peter Meerwald-Stadler' <pmeerw@pmeerw.net>,
'Linux Kernel Mailing List' <linux-kernel@vger.kernel.org>,
linux-iio@vger.kernel.org,
'Lucas De Marchi' <lucas.demarchi@intel.com>,
'Andy Gross' <agross@codeaurora.org>,
'Pramod Gurav' <pramod.gurav@smartplayin.com>,
'Bjorn Andersson' <bjorn.andersson@sonymobile.com>,
'Guenter Roeck' <linux@roeck-us.net>,
eibach@gdsys.de, linux-arm-msm@vger.kernel.org
Subject: RE: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support
Date: Thu, 18 Feb 2016 14:15:42 +0530 [thread overview]
Message-ID: <000101d16a28$c7867950$56936bf0$@codeaurora.org> (raw)
In-Reply-To: <20160217235314.GA13145@deathstar>
Hi,
> On Wed, Feb 10, 2016 at 10:36:22AM -0600, Michael Welling wrote:
> > On Wed, Feb 10, 2016 at 08:39:04PM +0530, Sricharan wrote:
> > > > Hi Sricharan,
> > > >
> > > > Are you looking at pca9685_pwm_probe in drivers/pwm/pwm-
> pca9685.c
> > > > right?
> > > >
> > > Yes.
> > >
> > > > I'm asking this because this driver doesn't seem to support
> > > > runtime pm and there is no check for regmap_write/regmap_write
> > > > return code in the probe function.
> > > Hmm to be clear, so it’s the pm_runtime_getsync from i2c-qup which
> fails right ?
> > > I was tracking that when there are i2c_xfers from pwm. I did not see
> any failures there.
> > > So wanted to know the correct sequence to reproduce.
> > >
> >
> > The problem was discovered using the patch that this thread is on. The
> > PWM driver does not have the problem.
> >
> > When the driver in this patch called pm_runtime_get_sync you got -EINVAL
> back.
>
> I noticed some patches for the QUP I2C driver in linux-next so I built against
> it.
>
> The ADC driver now appears to work as desired.
>
Ok, I suppose those were changes merged last week to add qup V2 tags support, but
not sure how that is helping to solve the pm_runtime issue here.
Regards,
Sricharan
prev parent reply other threads:[~2016-02-18 8:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1454678238-16313-1-git-send-email-daniel.baluta@intel.com>
[not found] ` <20160205172457.GA16778@deathstar>
[not found] ` <CAEnQRZAjgn3Y0618MgO284DMc_9cE49b9jeUr0j2HwUK6YK+0A@mail.gmail.com>
[not found] ` <20160206003245.GA1329@deathstar>
2016-02-08 10:25 ` [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support Wolfram Sang
2016-02-08 14:44 ` Daniel Baluta
[not found] ` <CAEnQRZAQjhQRdzYUvo=aKgQScAyGUgp8Ni7nx9cEo1XhN_8Xyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-08 15:03 ` Daniel Baluta
2016-02-08 16:37 ` Michael Welling
2016-02-08 16:36 ` Michael Welling
2016-02-08 19:11 ` Sricharan
2016-02-08 19:16 ` Michael Welling
2016-02-08 20:00 ` Wolfram Sang
2016-02-08 20:06 ` Michael Welling
2016-02-10 12:22 ` Sricharan
2016-02-10 12:56 ` Daniel Baluta
[not found] ` <CAEnQRZCzkq5wFsS7Ydby+bsFJTbGVq=AX9TLkkhfMKOG8gAZHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-10 15:09 ` Sricharan
2016-02-10 16:36 ` Michael Welling
2016-02-17 23:53 ` Michael Welling
2016-02-18 8:45 ` Sricharan [this message]
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='000101d16a28$c7867950$56936bf0$@codeaurora.org' \
--to=sricharan@codeaurora.org \
--cc=agross@codeaurora.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=daniel.baluta@intel.com \
--cc=eibach@gdsys.de \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lucas.demarchi@intel.com \
--cc=mwelling@ieee.org \
--cc=pmeerw@pmeerw.net \
--cc=pramod.gurav@smartplayin.com \
--cc=wsa@the-dreams.de \
/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;
as well as URLs for NNTP newsgroup(s).