From: Jonathan Cameron <jic23@kernel.org>
To: Doug Anderson <dianders@chromium.org>,
Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Cc: linux-iio <linux-iio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Naveen Krishna <naveenkrishna.ch@gmail.com>,
Lars-Peter Clausen <lars@metafoo.de>, "cpgs ." <cpgs@samsung.com>,
Grant Grundler <grundler@chromium.org>
Subject: Re: [PATCH 1/5] iio: exynos_adc: use indio_dev->dev structure to handle child nodes
Date: Sat, 26 Apr 2014 13:53:14 +0100 [thread overview]
Message-ID: <535BAC3A.1010202@kernel.org> (raw)
In-Reply-To: <CAD=FV=V28_iDiNWeX6bXLzMW5kWygJz-YAExJkETJKgTDicHQg@mail.gmail.com>
On 25/04/14 16:46, Doug Anderson wrote:
> Naveen,
>
> Thanks for sending this. Given that Jonathan Cameron was involved in
> the previous discussion, it probably would have been wise to include
> him on the CC list.
In my case, don't worry too much as I have linux-iio coming into exactly
the same place in my inbox. Doug is correct that it is generally a good
idea unless someone has asked you not to.
>
> On Fri, Apr 25, 2014 at 3:14 AM, Naveen Krishna Chatradhi
> <ch.naveen@samsung.com> wrote:
>> From: Naveen Krishna Ch <ch.naveen@samsung.com>
>>
>> Using pdev->dev with device_for_each_child() would iterate over all
>> of the children of the platform device and delete them.
>> Thus, causing crashes during module unload.
>>
>> We should be using the indio_dev->dev structure for
>> registering/unregistering child nodes.
>>
>> Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
>> ---
>> This change was tested on top of
>> https://lkml.org/lkml/2014/4/21/481 from Doug.
>>
>> drivers/iio/adc/exynos_adc.c | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> Reported-by: Doug Anderson <dianders@chromium.org>
> Reviewed-by: Doug Anderson <dianders@chromium.org>
> Tested-by: Doug Anderson <dianders@chromium.org>
Applied to the fixes-togreg branch of iio.git
Thanks,
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2014-04-26 12:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 10:14 [PATCH 0/5] iio: exynos_adc: fix minor nits in the driver Naveen Krishna Chatradhi
2014-04-25 10:14 ` [PATCH 1/5] iio: exynos_adc: use indio_dev->dev structure to handle child nodes Naveen Krishna Chatradhi
2014-04-25 15:46 ` Doug Anderson
2014-04-26 12:53 ` Jonathan Cameron [this message]
2014-04-26 13:51 ` Naveen Krishna Ch
2014-04-25 10:14 ` [PATCH 2/5] iio: exynos_adc: rearrange clock and regulator enable/disable calls Naveen Krishna Chatradhi
2014-04-25 16:06 ` Doug Anderson
2014-04-25 10:14 ` [PATCH 3/5] iio: exynos_adc: reduce timeout and use wait_for_completion_timeout Naveen Krishna Chatradhi
2014-04-25 16:28 ` Doug Anderson
2014-04-25 10:14 ` [PATCH 4/5] iio: exynos_adc: do a soft reset in case of timeout Naveen Krishna Chatradhi
2014-04-25 16:29 ` Doug Anderson
2014-04-25 10:14 ` [PATCH 5/5] iio: exynos_adc: do a reinit_completion before the conversion Naveen Krishna Chatradhi
2014-04-25 16:32 ` Doug Anderson
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=535BAC3A.1010202@kernel.org \
--to=jic23@kernel.org \
--cc=ch.naveen@samsung.com \
--cc=cpgs@samsung.com \
--cc=dianders@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=grundler@chromium.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=naveenkrishna.ch@gmail.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