From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0B94C33CAF for ; Mon, 13 Jan 2020 21:58:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8320F222C2 for ; Mon, 13 Jan 2020 21:58:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jaiRqQKL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="AIPV9ksy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8320F222C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=olveHbPXw1ClwxQ4b+iKSeFxwKLdnZWkIMrml3Cwq4w=; b=jaiRqQKLwqW3ls wlupaHYmQk8+RuCkx7zjXdA1FnN0dEsAxUhrmUa6jR/VGmjFS8JJdpBXuCfdy+2GORRKLiazG5B9Y w9g9WXribgPmbCZiUuFsAE1AJmj3/PHM0iEk2pTgTVX/pdD7Ne0U7ewhh7stL9IvU3OOgcPQJQPfm JRQGEknSbhMpq3xa18W8iQzFYw/p+aZ1CoNvB5yu8aHxe6P7TorDRFB4L/VZaCUhDS+0bdfvhOW2u LB38F2VJTbYnRDLxtpLS9zV+SrICzicIPonSYZ4ByZC1foC//xTdTmUuLNuY4+uhT/Jj2ZA3BzrdO LH7gjlTGI5uWrS9gZ9Ww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ir7j7-0001Ro-SY; Mon, 13 Jan 2020 21:58:25 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ir7j4-0001RL-EJ for linux-arm-kernel@lists.infradead.org; Mon, 13 Jan 2020 21:58:23 +0000 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2CE921569; Mon, 13 Jan 2020 21:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578952701; bh=dMiza/iFXEPvYxpswfqKt8lrTVj6PkpTWxCzuISkOes=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AIPV9ksy5zQIiyHAZyc6EUHspEbXIRjdyjILtjsn1YOGmbdnDfMxXxu9dMGqQ9l45 L6b8PKp3loQkEysjwa2DkPFbyJ2fN31SVRulXCynXkhsZriKKrtMRuVrnFIUVmTI0y 1lJcQEeZNqXqeCzhYTAgUf1h7NNdcyBgUDnMk5oE= Date: Mon, 13 Jan 2020 21:58:16 +0000 From: Jonathan Cameron To: Olivier MOYSAN Subject: Re: [PATCH v2] iio: adc: stm32-dfsdm: fix single conversion Message-ID: <20200113215816.753310aa@archlinux> In-Reply-To: <1a4261a5-1835-a248-9094-c4e7236e7254@st.com> References: <20191127130729.18511-1-olivier.moysan@st.com> <1a4261a5-1835-a248-9094-c4e7236e7254@st.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200113_135822_502316_C458AFCC X-CRM114-Status: GOOD ( 15.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "lars@metafoo.de" , Alexandre TORGUE , "linux-iio@vger.kernel.org" , "pmeerw@pmeerw.net" , "linux-kernel@vger.kernel.org" , "mcoquelin.stm32@gmail.com" , "knaack.h@gmx.de" , Fabrice GASNIER , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , Benjamin GAIGNARD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 10 Jan 2020 10:05:47 +0000 Olivier MOYSAN wrote: > Hi Jonathan, all, > > Kind reminder on this patch. Gah. Sorry .I marked it to reply then forgot to actually come back and do so. Thanks for the reminder. Given timing I'll apply this to the togreg branch of iio.git and get it lined up for the merge window. Marked it for stable so it should quickly get applied to stable as appropriate after that. Sorry for the delay. Thanks, Jonathan > Regards > Olivier > > On 11/27/19 2:07 PM, Olivier Moysan wrote: > > Apply data formatting to single conversion, > > as this is already done in continuous and trigger modes. > > > > Fixes: 102afde62937 ("iio: adc: stm32-dfsdm: manage data resolution in trigger mode") > > > > Signed-off-by: Olivier Moysan > > --- > > changes in version 2: > > - correct title > > --- > > drivers/iio/adc/stm32-dfsdm-adc.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c > > index e493242c266e..0339ecdd06bd 100644 > > --- a/drivers/iio/adc/stm32-dfsdm-adc.c > > +++ b/drivers/iio/adc/stm32-dfsdm-adc.c > > @@ -1204,6 +1204,8 @@ static int stm32_dfsdm_single_conv(struct iio_dev *indio_dev, > > > > stm32_dfsdm_stop_conv(adc); > > > > + stm32_dfsdm_process_data(adc, res); > > + > > stop_dfsdm: > > stm32_dfsdm_stop_dfsdm(adc->dfsdm); > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel