diff options
| author | George Stark <[email protected]> | 2023-07-21 10:23:08 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-07-22 17:12:53 +0000 |
| commit | 09738ccbc4148c62d6c8c4644ff4a099d57f49ad (patch) | |
| tree | c5684c6acd48c045675665ec884be63d38c19884 /rust/helpers.c | |
| parent | iio: core: Prevent invalid memory access when there is no parent (diff) | |
| download | kernel-09738ccbc4148c62d6c8c4644ff4a099d57f49ad.tar.gz kernel-09738ccbc4148c62d6c8c4644ff4a099d57f49ad.zip | |
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 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
