drivers: gpio: nct38xx: increase default init priority

Increase the default init priority of nct38xx so that they work well
with the default I2C init priority (50).

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-08-22 15:53:14 +00:00 committed by Carles Cufí
parent 2fea3fb0a9
commit 49b8f95513

View file

@ -15,14 +15,14 @@ if GPIO_NCT38XX
config GPIO_NCT38XX_INIT_PRIORITY
int "NCT38XX GPIO init priority"
default 30
default 51
help
Device driver initialization priority. The priority should be lower
than I2C device.
config GPIO_NCT38XX_PORT_INIT_PRIORITY
int "NCT38XX GPIO port init priority"
default 40
default 52
help
Device driver initialization priority. The priority should be lower
than I2C & GPIO_NCT38XX_INIT_PRIORITY device.
@ -36,7 +36,7 @@ config GPIO_NCT38XX_ALERT
config GPIO_NCT38XX_ALERT_INIT_PRIORITY
int "NCT38XX GPIO alert handler init priority"
default 40
default 52
depends on GPIO_NCT38XX_ALERT
help
NCT38XX alert handler initialization priority. This initialization