diff options
| author | Uwe Kleine-König <[email protected]> | 2025-06-30 16:27:26 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2025-08-04 06:12:09 +0000 |
| commit | 61c6fef7c4b06b4bdbf3142f4e5cace70597e0de (patch) | |
| tree | 7c3d4b9c791ade507902a74a727567dd78034e06 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | Input: st1232 - add touch-overlay handling (diff) | |
| download | kernel-61c6fef7c4b06b4bdbf3142f4e5cace70597e0de.tar.gz kernel-61c6fef7c4b06b4bdbf3142f4e5cace70597e0de.zip | |
Input: max77693 - convert to atomic pwm operation
The driver called pwm_config() and pwm_enable() separately. Today both
are wrappers for pwm_apply_might_sleep() and it's more effective to call
this function directly and only once. Also don't configure the
duty_cycle and period if the next operation is to disable the PWM so
configure the PWM in max77693_haptic_enable().
With the direct use of pwm_apply_might_sleep() the need to call
pwm_apply_args() in .probe() is now gone, too, so drop this one.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
