diff mbox series

[1/8] iio: resolver: ad2s1210 add missing select REGMAP in Kconfig

Message ID 20241003-ad2s1210-select-v1-1-4019453f8c33@gmail.com (mailing list archive)
State Accepted
Headers show
Series iio: {amplifiers,dac,frequency,resolver}: add missing selects in Kconfig | expand

Commit Message

Javier Carrasco Oct. 3, 2024, 4:49 p.m. UTC
This driver makes use of regmap, but does not select the required
module.
Add the missing 'select REGMAP'.

Fixes: b3689e14415a ("staging: iio: resolver: ad2s1210: use regmap for config registers")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/resolver/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

David Lechner Oct. 3, 2024, 10:44 p.m. UTC | #1
On 10/3/24 11:49 AM, Javier Carrasco wrote:
> This driver makes use of regmap, but does not select the required
> module.
> Add the missing 'select REGMAP'.
> 
> Fixes: b3689e14415a ("staging: iio: resolver: ad2s1210: use regmap for config registers")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---

Reviewed-by: David Lechner <dlechner@baylibre.com>
Jonathan Cameron Oct. 6, 2024, 1:24 p.m. UTC | #2
On Thu, 3 Oct 2024 17:44:03 -0500
David Lechner <dlechner@baylibre.com> wrote:

> On 10/3/24 11:49 AM, Javier Carrasco wrote:
> > This driver makes use of regmap, but does not select the required
> > module.
> > Add the missing 'select REGMAP'.
> > 
> > Fixes: b3689e14415a ("staging: iio: resolver: ad2s1210: use regmap for config registers")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> > ---  
> 
> Reviewed-by: David Lechner <dlechner@baylibre.com>
Applied to the fixes-togreg branch of iio.git.

Thanks,

J
diff mbox series

Patch

diff --git a/drivers/iio/resolver/Kconfig b/drivers/iio/resolver/Kconfig
index 424529d36080..640aef3e5c94 100644
--- a/drivers/iio/resolver/Kconfig
+++ b/drivers/iio/resolver/Kconfig
@@ -31,6 +31,7 @@  config AD2S1210
 	depends on SPI
 	depends on COMMON_CLK
 	depends on GPIOLIB || COMPILE_TEST
+	select REGMAP
 	help
 	  Say yes here to build support for Analog Devices spi resolver
 	  to digital converters, ad2s1210, provides direct access via sysfs.