From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: "Samuel Moelius" <samuel.moelius@trailofbits.com>,
"Andy Shevchenko" <andriy.shevchenko@intel.com>,
"Nuno Sá" <nuno.sa@analog.com>,
Stable@vger.kernel.org, "Jonathan Cameron" <jic23@kernel.org>,
"Sasha Levin" <sashal@kernel.org>
Subject: [PATCH 6.12.y] iio: adc: ad7380: select REGMAP
Date: Mon, 13 Jul 2026 14:13:28 -0400 [thread overview]
Message-ID: <20260713181328.1932706-1-sashal@kernel.org> (raw)
In-Reply-To: <2026071354-cannabis-broadness-e866@gregkh>
From: Samuel Moelius <samuel.moelius@trailofbits.com>
[ Upstream commit 6697091b386a4e2830bdd38512c87a4befff2b32 ]
The AD7380 driver uses generic regmap types and APIs. However, its
Kconfig entry does not select REGMAP.
As a result, AD7380 can be enabled from an allnoconfig-derived config
with SPI_MASTER=y while REGMAP remains unset, causing ad7380.o to fail
to build.
Fixes: b095217c104b ("iio: adc: ad7380: new driver for AD7380 ADCs")
Signed-off-by: Samuel Moelius <samuel.moelius@trailofbits.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/iio/adc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 216f3c9ce183e7..57fc8f0de7b0c8 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -188,6 +188,7 @@ config AD7298
config AD7380
tristate "Analog Devices AD7380 ADC driver"
depends on SPI_MASTER
+ select REGMAP
select IIO_BUFFER
select IIO_TRIGGER
select IIO_TRIGGERED_BUFFER
--
2.53.0
prev parent reply other threads:[~2026-07-13 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 12:45 FAILED: patch "[PATCH] iio: adc: ad7380: select REGMAP" failed to apply to 6.12-stable tree gregkh
2026-07-13 18:13 ` Sasha Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260713181328.1932706-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=andriy.shevchenko@intel.com \
--cc=jic23@kernel.org \
--cc=nuno.sa@analog.com \
--cc=samuel.moelius@trailofbits.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox