aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-10-09 11:32:23 +0200
committerLee Jones <[email protected]>2023-10-12 10:31:15 +0100
commit40da4737717b252fd01d92ff38d3b95a491167cc (patch)
tree5182cca1d82b7729bede923053c3669ea4127e2c /drivers/gpu/drm/amd/amdgpu
parent02c4e661658f73d3c266c68f89f0b14bd8ba6bd8 (diff)
backlight: pwm_bl: Disable PWM on shutdown, suspend and remove
Since commit 00e7e698bff1 ("backlight: pwm_bl: Configure pwm only once per backlight toggle") calling pwm_backlight_power_off() doesn't disable the PWM any more. However this is necessary to suspend because PWM drivers usually refuse to suspend if they are still enabled. Also adapt shutdown and remove callbacks to disable the PWM for similar reasons. Fixes: 00e7e698bff1 ("backlight: pwm_bl: Configure pwm only once per backlight toggle") Reported-by: Aisheng Dong <[email protected]> Tested-by: Aisheng Dong <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions