diff options
| author | Uwe Kleine-König <[email protected]> | 2021-03-01 18:23:07 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2021-03-22 10:55:20 +0000 |
| commit | d58cb0ee51ef58acc80f984407979fd5926da9e5 (patch) | |
| tree | a07b1d6742adafa775cc848e2929613903217ca0 /drivers/pwm/pwm-sprd.c | |
| parent | pwm: Always allocate PWM chip base ID dynamically (diff) | |
| download | kernel-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
