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 EA97941B34E; Wed, 4 Feb 2026 14:57:26 +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=1770217047; cv=none; b=mRZH2OhbwET4sqZCTZYwefT7RmCoVApUrnJUmMOpkFWWOoqLd8dvhA5vwWEZR8Or7XzvxHrFmZOq4xSBalTkn15r+GhDziw/ri7nAJOdU0pYqLikYuk9jPZMw+/iRpSyxxLJU4UVnsfJPdKHhAMCMQE1wjvtXDD4rbEBreA1NsM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770217047; c=relaxed/simple; bh=SltRR6u2RYLJRVn9ycnQol71FaojWUVzKbCd2ikfEoY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lyDyQHi5yEOV4nKceWTdw4zsR0VnziaMzjdeXpThuTC4+XmWlUu7O3F3wa1hVyAx7djgIbmk16KVQHW5aY0F4lk2cQ3zgnL0apv89PK/1KsQLQ91DC93nR9CGTWytmzAYNOBLOX6p+ZQ92Jq+DEINgOW3T9v7DWPiV3BAxspOLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nm92qH7B; 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="nm92qH7B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AC88C4CEF7; Wed, 4 Feb 2026 14:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770217046; bh=SltRR6u2RYLJRVn9ycnQol71FaojWUVzKbCd2ikfEoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nm92qH7Bwat66z8vP/xkaD5C5bu3ZSNSVMefdD9ALbAwAhrIs8a2mEbIgmFI5ZAA4 6g9MGLo2iGJ920sU/nqszF8sHFtIH3EA/tpk4totoHaFVT342KzrMErTqNFnp74af9 9HyAwd3IHznhdyFA+SHZZU5rFEbpfSvirC/nMAVg= 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.15 108/206] iio: adc: ad9467: fix ad9434 vref mask Date: Wed, 4 Feb 2026 15:38:59 +0100 Message-ID: <20260204143902.098235609@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260204143858.193781818@linuxfoundation.org> References: <20260204143858.193781818@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.15-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