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: Caspar Friedrich <c.s.w.friedrich@gmail.com>
This commit is contained in:
parent
7eb0aa0468
commit
8a2a44f9e9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if ADC_TLA2021
|
||||||
|
|
||||||
config ADC_TLA2021_INIT_PRIORITY
|
config ADC_TLA2021_INIT_PRIORITY
|
||||||
int "Priority for the driver initialization"
|
int "Priority for the driver initialization"
|
||||||
default ADC_INIT_PRIORITY
|
default 80
|
||||||
help
|
help
|
||||||
Fine tune the priority for the driver initialization. Make sure it's
|
Fine tune the priority for the driver initialization. Make sure it's
|
||||||
higher (-> lower priority) than I2C_INIT_PRIORITY.
|
higher (-> lower priority) than I2C_INIT_PRIORITY.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue