summaryrefslogtreecommitdiff
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2025-07-29 12:36:00 +0200
committerUwe Kleine-König <ukleinek@kernel.org>2025-09-15 11:39:46 +0200
commitca478d8a4b6d342e7df95bcba842301027a3b490 (patch)
treed316a4da8b02a9c95aa44c88a887780bd787afb5 /rust/helpers/processor.c
parentd8af3812b1e8b3b02bdac2f74eda1463540edd61 (diff)
pwm: pca9685: Don't disable hardware in .free()
It's the responsibility of the consumer to disable the hardware before it's released. And there are use cases where it's beneficial to keep the PWM on, e.g. to keep a backlight on before kexec()ing into a new kernel. Even if it would be considered right to disable on pwm_put(), this should be done in the core and not each individual driver. So drop the hardware access in .free(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/1ee1a514aeb5f0effafa2d6ec91bc54130895cd9.1753784092.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions