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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 020A4C33CA2 for ; Fri, 10 Jan 2020 10:06:06 +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 C7C3420721 for ; Fri, 10 Jan 2020 10:06:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TcJbyoMx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="a7Pfwu94" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C7C3420721 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sef1Go2XPJJAXALNM7bR82J87oKZSVopXLOpTe2LCFI=; b=TcJbyoMxacS2st LsvY4rjJS5YbX3pHYQrdpnwFuDiVuE7YPtc4BMoL58q+AdouRUnGJydcV3xDSTSMXSRVRGIUxLEVn cC7mT9fvJbrxl+CwbN6F0VRn9TszCGJlbOYF7df17/MPBRSvndhbTR9iV+BiRlUDg7W/6j1fJaHeb 70vR4MZQBOxH80HMNG3/hd/8KZF00Lfi4pcfJap61YmliLiQAOMZuYQCSkIU3f9qkj5yNtGOI4w83 IE+RaO4iilJB2e8L74/QMoPDW8ViRmZrfAtgV0RiiqM65CxA9bl5Eoao5iISI/Wuc5xrIUFBuXLsT wwya1x+Dkpk/8YFHDfVw==; 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 1iprB6-0004EO-WF; Fri, 10 Jan 2020 10:06:05 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iprB3-0004Db-Fr for linux-arm-kernel@lists.infradead.org; Fri, 10 Jan 2020 10:06:03 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00AA4MaJ018437; Fri, 10 Jan 2020 11:05:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=Orqb4Kzs44B6SU4aLxj7f+Qu6NMAODCMej4io7GGS5M=; b=a7Pfwu94Dfr68ihKVpEQrnWKRtNIAvpCngKjgBGsIOqfhCV8u4TrvXXghrIa0GCrde8I fOT8I5ktcFhccr3JMzL9SdKR/f4XLkX/mY87BtGSgCANhN+mnPlhfK9kwaUEiNMRm0lg twI2wXR8z5W6brbdDoXVwLh5mmeq0V8XiZ4f5zHNnpeovIAmBTdwaXA1bnRETvO1kOE9 kfq7Cc/xaFVpDr/E4pmZBgiC9WfHS/8U0QfUMKVbtmzHBJPdXpXhEpae10DayKWQFQeB V31tDJ8CqKQrPZMatfh08ZsIpxJQtPUjNTa/1kbP/yguAo/gy6PLEorIyiqpAI3NGDaw DA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xakkb72ge-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jan 2020 11:05:53 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4EA5B10003A; Fri, 10 Jan 2020 11:05:48 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 39C942A6196; Fri, 10 Jan 2020 11:05:48 +0100 (CET) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 10 Jan 2020 11:05:47 +0100 Received: from SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6]) by SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6%20]) with mapi id 15.00.1347.000; Fri, 10 Jan 2020 11:05:47 +0100 From: Olivier MOYSAN To: "jic23@kernel.org" , "knaack.h@gmx.de" , "lars@metafoo.de" , "pmeerw@pmeerw.net" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE , Fabrice GASNIER , "linux-iio@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Benjamin GAIGNARD Subject: Re: [PATCH v2] iio: adc: stm32-dfsdm: fix single conversion Thread-Topic: [PATCH v2] iio: adc: stm32-dfsdm: fix single conversion Thread-Index: AQHVpSPpcOskt6+D7kOuxZv5WfyEPKfj4AOA Date: Fri, 10 Jan 2020 10:05:47 +0000 Message-ID: <1a4261a5-1835-a248-9094-c4e7236e7254@st.com> References: <20191127130729.18511-1-olivier.moysan@st.com> In-Reply-To: <20191127130729.18511-1-olivier.moysan@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.50] Content-ID: <216D40C44CFE484AB49CAC1B044E7CC9@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-10_01:2020-01-10, 2020-01-09 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200110_020601_967245_2422FE8F X-CRM114-Status: GOOD ( 18.38 ) 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: , 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 Hi Jonathan, all, Kind reminder on this patch. 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