Commit 8a2a44f9 authored by Caspar Friedrich's avatar Caspar Friedrich Committed by Henrik Brix Andersen
Browse files

drivers: adc: tla2021: Raise default initialization priority

The TLA2021 driver depends on it's i2c controller and therefore needs
to be initialized later. ADC_INIT_PRIORITY by default equals
KERNEL_INIT_PRIORITY_DEVICE which should be used by independent devices.
Using this by default causing projects to fail where this driver is
enabled implicitly through board configuration and the priority is not
explicitly set.

Signed-off-by: default avatarCaspar Friedrich <c.s.w.friedrich@gmail.com>
parent 7eb0aa04
Loading
Loading
Loading
Loading
+1 −1
Changes for drivers/adc/Kconfig.tla2021: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ if ADC_TLA2021

config ADC_TLA2021_INIT_PRIORITY
	int "Priority for the driver initialization"
	default ADC_INIT_PRIORITY
	default 80
	help
	  Fine tune the priority for the driver initialization. Make sure it's
	  higher (-> lower priority) than I2C_INIT_PRIORITY.