public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Olivier Moysan <olivier.moysan@foss.st.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Paul Cercueil <paul@crapouillou.net>,
	Wan Jiabing <wanjiabing@vivo.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH 0/2] iio: adc: stm32-adc: add checks on adc state
Date: Sat, 25 Jun 2022 14:28:02 +0100	[thread overview]
Message-ID: <20220625142802.51ee9637@jic23-huawei> (raw)
In-Reply-To: <20220620154738.801706-1-olivier.moysan@foss.st.com>

On Mon, 20 Jun 2022 17:47:36 +0200
Olivier Moysan <olivier.moysan@foss.st.com> wrote:

> On ADC startup a calibration is launched.
> A prerequisite for ADC calibration is to have ADC in disabled state.
> After kernel boot, the ADC state may be unknown as the ADC may have been left enabled by boot stage.
> 
> Call ADC disable routine systematically before launching calibration.
> Adapt ADC disable routine to perform disabling sequence according to current ADC state.
> 
> Olivier Moysan (2):
>   iio: adc: stm32-adc: make safe adc disable
>   iio: adc: stm32-adc: disable adc before calibration
> 
>  drivers/iio/adc/stm32-adc.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Series applied to the togreg branch and pushed out as testing
for all the normal reasons.

Thanks,

Jonathan


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2022-06-25 13:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 15:47 [PATCH 0/2] iio: adc: stm32-adc: add checks on adc state Olivier Moysan
2022-06-20 15:47 ` [PATCH 1/2] iio: adc: stm32-adc: make safe adc disable Olivier Moysan
2022-06-21 15:38   ` Fabrice Gasnier
2022-06-20 15:47 ` [PATCH 2/2] iio: adc: stm32-adc: disable adc before calibration Olivier Moysan
2022-06-21 15:39   ` Fabrice Gasnier
2022-06-25 13:28 ` Jonathan Cameron [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=20220625142802.51ee9637@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=fabrice.gasnier@foss.st.com \
    --cc=lars@metafoo.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=olivier.moysan@foss.st.com \
    --cc=paul@crapouillou.net \
    --cc=wanjiabing@vivo.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