diff mbox series

ARM: omap2plus_defconfig: enable twl4030_madc as a loadable module

Message ID 20200819191524.32581-1-andreas@kemnade.info
State New
Headers show
Series ARM: omap2plus_defconfig: enable twl4030_madc as a loadable module | expand

Commit Message

Andreas Kemnade Aug. 19, 2020, 7:15 p.m. UTC
The ADC is used by twl4030_charger to read voltages. If a dtb contains
the ADC but the module is not build, probing twl4030_charger will be
endlessly deferred, so just enable CONFIG_TWL4030_MADC in the config.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tony Lindgren Sept. 10, 2020, 10:14 a.m. UTC | #1
* Andreas Kemnade <andreas@kemnade.info> [200819 22:18]:
> The ADC is used by twl4030_charger to read voltages. If a dtb contains
> the ADC but the module is not build, probing twl4030_charger will be
> endlessly deferred, so just enable CONFIG_TWL4030_MADC in the config.

Thanks applying into omap-for-v5.10/defconfig.

Tony
diff mbox series

Patch

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index fe383f5a92fb..c9a32000f1d4 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -510,6 +510,7 @@  CONFIG_IIO_ST_ACCEL_3AXIS=m
 CONFIG_CPCAP_ADC=m
 CONFIG_INA2XX_ADC=m
 CONFIG_TI_AM335X_ADC=m
+CONFIG_TWL4030_MADC=m
 CONFIG_SENSORS_ISL29028=m
 CONFIG_BMP280=m
 CONFIG_PWM=y