drivers: misc: mcux_flexio: Set the DOZEN bit
Setting the DOZEN bit in the flexio so the soc does not force the peripheral to go into low power mode when the soc is in idle. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
809c855a62
commit
0bdb9595b1
@ -132,6 +132,8 @@ static int mcux_flexio_init(const struct device *dev)
|
||||
k_mutex_init(&data->lock);
|
||||
|
||||
FLEXIO_GetDefaultConfig(&flexio_config);
|
||||
flexio_config.enableInDoze = true;
|
||||
|
||||
FLEXIO_Init(config->base, &flexio_config);
|
||||
config->irq_config_func(dev);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user