From mboxrd@z Thu Jan 1 00:00:00 1970 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 5D49C221F17; Wed, 4 Feb 2026 14:47:23 +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=1770216443; cv=none; b=cfWrbZcmCf+YWsRMlr840zFX++tLq3N3rLy6dXPWzNUnij0VP/alF5nEYJfbbQeyL4GjjU6yQ0IwpN9sVZ5Ut9mh6rXVyrJbGhBaaNA72cf2Qso7OWEHLWYHjG5LL1MYVcL3mjs/dj/Ctd+m5wimmfR8F80t8KqOcr+0mUmcrQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770216443; c=relaxed/simple; bh=AQziWlub5coi3zQtgC74WXTzuCewkJfkNz504EwV200=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pbGQxIrJYZvqVMgkweMuxt9t9qLCpZwvDrGsLaX8lLlvv4wBwL4e/xTz7xD/2rdPxjP+T2MN36Z4B2jLKeDRB8bp9nqZzd0HmYXCu65Q/UEv3lQDIG+xpWYEPTeR572Yfah5WI6PTBtpWkZgzYCAtIDG52XCeOs39CJ8gsk0p9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QHMD0zKx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QHMD0zKx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3D4CC4CEF7; Wed, 4 Feb 2026 14:47:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770216443; bh=AQziWlub5coi3zQtgC74WXTzuCewkJfkNz504EwV200=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QHMD0zKxrQWUWzZNw555t+Jgb6YiuP9miUwkLkbA7QoEcNgAz8GKIbd5Bmcvzd05e Lba+h2zXiyGpKNfIlqNEyzr9tgvSGH0ou95VZeUrTELl65dvuUqRZOl8mT5ijCWyEC zSK6mngZL4km2pplsbdLE4Ur4yVL5W6/E+z5v/PI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andy Shevchenko , =?UTF-8?q?Nuno=20S=C3=A1?= , David Lechner , Tomas Melin , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 5.10 089/161] iio: adc: ad9467: fix ad9434 vref mask Date: Wed, 4 Feb 2026 15:39:12 +0100 Message-ID: <20260204143854.948893701@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260204143851.755002596@linuxfoundation.org> References: <20260204143851.755002596@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tomas Melin commit 92452b1760ff2d1d411414965d4d06f75e1bda9a upstream. The mask setting is 5 bits wide for the ad9434 (ref. data sheet register 0x18 FLEX_VREF). Apparently the settings from ad9265 were copied by mistake when support for the device was added to the driver. Fixes: 4606d0f4b05f ("iio: adc: ad9467: add support for AD9434 high-speed ADC") Reviewed-by: Andy Shevchenko Reviewed-by: Nuno Sá Reviewed-by: David Lechner Signed-off-by: Tomas Melin Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/adc/ad9467.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/iio/adc/ad9467.c +++ b/drivers/iio/adc/ad9467.c @@ -90,7 +90,7 @@ #define CHIPID_AD9434 0x6A #define AD9434_DEF_OUTPUT_MODE 0x00 -#define AD9434_REG_VREF_MASK 0xC0 +#define AD9434_REG_VREF_MASK GENMASK(4, 0) /* * Analog Devices AD9467 16-Bit, 200/250 MSPS ADC