When HAVE_HSI_CONTROL, adc_reset_hsi_disable() calls adc_reset() followed by adc_shutdown() and this combination is called before adc_setup() by upper level ADC driver. Without this patch, priv->initialized wraps from 0 to 255 in this case. Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |