aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorGeorge Stark <[email protected]>2023-07-21 10:23:08 +0000
committerJonathan Cameron <[email protected]>2023-07-22 17:12:53 +0000
commit09738ccbc4148c62d6c8c4644ff4a099d57f49ad (patch)
treec5684c6acd48c045675665ec884be63d38c19884 /rust/helpers.c
parentiio: core: Prevent invalid memory access when there is no parent (diff)
downloadkernel-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