aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-sprd.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-03-01 18:23:07 +0000
committerThierry Reding <[email protected]>2021-03-22 10:55:20 +0000
commitd58cb0ee51ef58acc80f984407979fd5926da9e5 (patch)
treea07b1d6742adafa775cc848e2929613903217ca0 /drivers/pwm/pwm-sprd.c
parentpwm: Always allocate PWM chip base ID dynamically (diff)
downloadkernel-d58cb0ee51ef58acc80f984407979fd5926da9e5.tar.gz
kernel-d58cb0ee51ef58acc80f984407979fd5926da9e5.zip
pwm: Return -EINVAL for old-style drivers without .set_polarity callback
Since commit 2b1c1a5d5148 ("pwm: Use -EINVAL for unsupported polarity") all drivers implementing the apply callback are unified to return -EINVAL if an unsupported polarity is requested. Do the same in the compat code for old-style drivers. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-sprd.c')
0 files changed, 0 insertions, 0 deletions