diff options
| author | 2025-06-30 09:27:26 -0700 | |
|---|---|---|
| committer | 2025-08-03 23:12:09 -0700 | |
| commit | 61c6fef7c4b06b4bdbf3142f4e5cace70597e0de (patch) | |
| tree | 7c3d4b9c791ade507902a74a727567dd78034e06 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Input: st1232 - add touch-overlay handling (diff) | |
| download | wireguard-linux-61c6fef7c4b06b4bdbf3142f4e5cace70597e0de.tar.xz wireguard-linux-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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20250630103851.2069952-2-u.kleine-koenig@baylibre.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
