Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp359034lqh; Sat, 4 May 2024 04:28:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzj4y1D1Ws63xuPklFYy+m2Jt2/lGZ5eYH9HWhoYbnf+1AH8Azu91fRtjnj8OTjc0+dKTll4P/CR1JGk81+VVoBu5Dm/eyOqOc41lHaQ== X-Google-Smtp-Source: AGHT+IEEaUHAnA9ZvZgkY+HQwphcYql4SdrGLLBfEcZyjMl3awZy8VottiwpcZ5NncPWISC4aDa/ X-Received: by 2002:a17:906:448:b0:a58:cd39:d154 with SMTP id e8-20020a170906044800b00a58cd39d154mr3283004eja.11.1714822135322; Sat, 04 May 2024 04:28:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714822135; cv=pass; d=google.com; s=arc-20160816; b=t35b+FBvfFwCIbzlCtT0nxU6T+HCU8/ERLV/EOg+++gu7l1/jaePCBMCIuykp24JeT ITBFuJMHD7AZY4LU9zgaa2UieMi/6f2sD2REOHfcgy9A6KPUZU0V2z2zULFhnHfwYHoy LIUbwxtQ/al+k+DsR9w7i9HYZr9TE09XliNCLeFyhYYUXlcj/DswP4YTKH+SXEid3MPy GbK27QUhFRF/+Rcvduq5G/xVXszpeQSRnD9MUp2Q3ReTEkmUYsVPgXFLhcLP0pG36f7A vC42iYsHL37uhL4YAkSZ7v5fmSyhwjzIcFH6pAvWjrffrZzl7q/gK+nmE/f2Te9m1Tr/ gnPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=EMgS09uBXhi1PMhPoHrScKKt7YBhYlp5UGWmaC55j8k=; fh=3PYInFRNZpYBi5E6t4O9vbkNZo/fk5VnzNPWUHnSpDg=; b=h6FdmJVgD+J6ExykTUrYO0EYhwTtOYJCZMjeEQmFZS+yj+kQ2dd5cDqkATrRdprgya VmXpzWO+dOhm3BKY8omfCEVcNFN9X+hvERzRaGKt851eec0dI+eoOfDzxFblepZ0BLOY uHTYtwIya847r+F2294xHprc6PDira+OcTscWGcljAdhVqaq2hsEiiak79jaju2XkUZU Il2Swi0CcdZeITdv2pXkstxNvkJkfWMyrQLW2XbNpPRkN9sUmO0Rh7MsQ0dksZgGgE89 v+hW4cAmZ5pYvhdJ3YOM8waJ4wv3NrLbfQr65ra5CQNINi4m7Mj6JhRWxNNLtO2bwVCC uS4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oWHfezVO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cm24-20020a170906f59800b00a51e004de3dsi1212822ejd.568.2024.05.04.04.28.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 04:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oWHfezVO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0E82C1F21DE6 for ; Sat, 4 May 2024 11:28:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E5831CAA6; Sat, 4 May 2024 11:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oWHfezVO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93EA510A16; Sat, 4 May 2024 11:28:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714822128; cv=none; b=AyosjvCnfMsOhmxNLtFfip09TZ4smXpzgmvX61nPXNzkB0gPaZ1fiAH/uFt2lxvR1syPHb84yRX5M4PfkPLW+JAh6QEFBkGiHa2+sCV5pTrDraKx0U1GFjsQTzs+0gJMsTotUAf/5N129Hwjpcvr0vEM7X+iJi71oarl20S9Md0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714822128; c=relaxed/simple; bh=Fnb+vdj/e1q9bTrUIyIq+b+Gwy/enK2PIKyaep0tiR8=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DlxtyCkCfBgN/02zkYM2Q7Up4lC58sw1riP5Cy9ejEmM9JaZPXshqPL9WDWN4btjFr9KP7umJLfLSaJOIEy8dMG4nrf762x66R1l4AEA350qoZ9fYNsYky9VY7G058wKwOa/76ybA5B29cr2CSNwC6BUdNQL4ISx7EBoWd6NxUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oWHfezVO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A430C072AA; Sat, 4 May 2024 11:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714822128; bh=Fnb+vdj/e1q9bTrUIyIq+b+Gwy/enK2PIKyaep0tiR8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oWHfezVOSrsc9L6Gq3Tzix7Y9Twvotoa05UPaEL2lG86BfMQh8b4S2/unGIcwDkrN hztBZACwkJg+eaV/jD92hVTN5aQiDRRbG6Eydmh5tJmQCzNug2THVS+bQPJFNlC9bf zGbLQHBXviUiP81DdOkZUXH83/wA7F9IhtSNZRvWA4mWeGrhlUvIqY7fBy6x3/Rqhx GN+5Mz9Kv9BEPqPhiygI21Xc7lpkwwLUZvaJfQ457EMRC/QXUVlG4x8kdnTGZpAfZm oPsYtqK5a/tEJ3DphU6NugOYAeeiNSh5FFMatXEU/kX/2N3/nMM9vWQiHMXA43R3wS yf5dWGLH93WCw== Date: Sat, 4 May 2024 12:28:36 +0100 From: Jonathan Cameron To: David Lechner Cc: Lars-Peter Clausen , Michael Hennerich , Alexandru Ardelean , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: adc: ad9467: fix scan type sign Message-ID: <20240504122836.51277cfb@jic23-huawei> In-Reply-To: <20240503-ad9467-fix-scan-type-sign-v1-1-c7a1a066ebb9@baylibre.com> References: <20240503-ad9467-fix-scan-type-sign-v1-1-c7a1a066ebb9@baylibre.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 3 May 2024 14:45:05 -0500 David Lechner wrote: > According to the IIO documentation, the sign in the scan type should be > lower case. The ad9467 driver was incorrectly using upper case. > > Fix by changing to lower case. > > Fixes: 4606d0f4b05f ("iio: adc: ad9467: add support for AD9434 high-speed ADC") > Fixes: ad6797120238 ("iio: adc: ad9467: add support AD9467 ADC") > Signed-off-by: David Lechner Applied to the fixes-togreg branch of iio.git. I'll probably sit on this until after the merge window though. Marked for stable. Thanks, Jonathan > --- > drivers/iio/adc/ad9467.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/adc/ad9467.c b/drivers/iio/adc/ad9467.c > index e85b763b9ffc..8f5b9c3f6e3d 100644 > --- a/drivers/iio/adc/ad9467.c > +++ b/drivers/iio/adc/ad9467.c > @@ -243,11 +243,11 @@ static void __ad9467_get_scale(struct ad9467_state *st, int index, > } > > static const struct iio_chan_spec ad9434_channels[] = { > - AD9467_CHAN(0, 0, 12, 'S'), > + AD9467_CHAN(0, 0, 12, 's'), > }; > > static const struct iio_chan_spec ad9467_channels[] = { > - AD9467_CHAN(0, 0, 16, 'S'), > + AD9467_CHAN(0, 0, 16, 's'), > }; > > static const struct ad9467_chip_info ad9467_chip_tbl = { > > --- > base-commit: 827dca3129708a8465bde90c86c2e3c38e62dd4f > change-id: 20240503-ad9467-fix-scan-type-sign-425daca1bb83