Received: by 10.223.185.116 with SMTP id b49csp1822130wrg; Sat, 24 Feb 2018 04:58:59 -0800 (PST) X-Google-Smtp-Source: AH8x225ZukcqOeS5hR1x1n9gxdCrJqvuWXvt0AXD9ljMI0GlAwVst9KQ/UjV0kt+bTpm79v8McDg X-Received: by 10.167.129.129 with SMTP id g1mr4878983pfi.224.1519477139840; Sat, 24 Feb 2018 04:58:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519477139; cv=none; d=google.com; s=arc-20160816; b=ehMwajc94ezBWHIEX+fbP56GUO4ypOUYfUsghdWwO4z+qjGinsX5n9XrOwAomduJcV h7Eg/M55BBdBFMK7lL75ayQNvFVd39vrR/bYyRmkFHMN8gFrCfgHZDU2LDrmiITa7z9M i75DBEsi7GJxfZU4kRn0Ry47ttWBYNkO5SrmcuhyjhNK9xf46RWNiuDt7GYSkmg0CYlp NW0cGkHra9C32cjzMEqegBREu7D4G8o+tJdg53xGbYvfJZb7X3FipvH+8KTVZGKfBUbv Bk/66ES3SjyA31A9QdLoNaOqqVHgzhKbpJY49uAFfR64wPR2nhgjosP0o0QRDBr0Mrba WMkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=1x+/OBtDW7i/+/SgOIS3CZSfRT7aqJf5sAg2Yr55wXA=; b=yvOz5o6GA+dqSkj6Z/YcfdAELJuYrLq8DE2kyPBgOdXjAkDj8mVX1HNlKXn+YsTduz 3c4rUubHoVQfhDzZ9xV4HayUIYY8u9lnsrfYfd4e7g0FKDDhIxjfkVxEPfAKrUQY+p5q vTYws5pdIAs145VMlylnJfy4jBpz4VvZQ6KxYisaddnF6e8GSFqzPsJsrNQmzoSN4vwI X3aLATc2LogBo9rl6sNba+p6MSejxBU4n0lcdHHggyMTVqVe9uhks3NHHvX2WlleRnri jSyI0hoQC68tqVNszd8TN7sk0nV92H2ioECo0TYYOMPZu8UxcGcNM6eIrOZ/XBpVN73j JyRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m70si3546138pfk.201.2018.02.24.04.58.45; Sat, 24 Feb 2018 04:58:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751465AbeBXM6G (ORCPT + 99 others); Sat, 24 Feb 2018 07:58:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:45534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeBXM6F (ORCPT ); Sat, 24 Feb 2018 07:58:05 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 8DFA521741; Sat, 24 Feb 2018 12:58:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DFA521741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 24 Feb 2018 12:57:59 +0000 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , Subject: Re: [PATCH 2/7] iio: adc: stm32-dfsdm: fix call to stop channel Message-ID: <20180224125759.18678f8b@archlinux> In-Reply-To: <1519390261-25453-3-git-send-email-fabrice.gasnier@st.com> References: <1519390261-25453-1-git-send-email-fabrice.gasnier@st.com> <1519390261-25453-3-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Feb 2018 13:50:56 +0100 Fabrice Gasnier wrote: > stm32_dfsdm_stop_channel must be called with channel id, not filter id. > > Fixes: e2e6771c6462 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support") > > Signed-off-by: Fabrice Gasnier Applied to the fixes-togreg branch of iio.git Thanks, Jonathan > --- > drivers/iio/adc/stm32-dfsdm-adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c > index daa026d..0eff811 100644 > --- a/drivers/iio/adc/stm32-dfsdm-adc.c > +++ b/drivers/iio/adc/stm32-dfsdm-adc.c > @@ -464,7 +464,7 @@ static int stm32_dfsdm_start_conv(struct stm32_dfsdm_adc *adc, bool dma) > > regmap_update_bits(regmap, DFSDM_CR1(adc->fl_id), > DFSDM_CR1_RCONT_MASK, 0); > - stm32_dfsdm_stop_channel(adc->dfsdm, adc->fl_id); > + stm32_dfsdm_stop_channel(adc->dfsdm, adc->ch_id); > > return ret; > }