diff options
author | George Stark <[email protected]> | 2023-07-21 13:23:08 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-07-22 18:12:53 +0100 |
commit | 09738ccbc4148c62d6c8c4644ff4a099d57f49ad (patch) | |
tree | c5684c6acd48c045675665ec884be63d38c19884 /lib/mpi/mpiutil.c | |
parent | b2a69969908fcaf68596dfc04369af0fe2e1d2f7 (diff) |
iio: adc: meson: fix core clock enable/disable moment
Enable core clock at probe stage and disable it at remove stage.
Core clock is responsible for turning on/off the entire SoC module so
it should be on before the first module register is touched and be off
at very last moment.
Fixes: 3adbf3427330 ("iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs")
Signed-off-by: George Stark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions