diff options
| author | Ryo Kodama <[email protected]> | 2016-06-08 01:58:23 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2016-06-10 12:24:40 +0000 |
| commit | fe5aa34d6eb9c4d34071845f70f3714b41c8a77d (patch) | |
| tree | 941c6fec129aff1b1436cefab2fe3af76cab2ea0 /drivers/pwm/pwm-atmel-hlcdc.c | |
| parent | pwm: Improve args checking in pwm_apply_state() (diff) | |
| download | kernel-fe5aa34d6eb9c4d34071845f70f3714b41c8a77d.tar.gz kernel-fe5aa34d6eb9c4d34071845f70f3714b41c8a77d.zip | |
pwm: sysfs: Get return value from pwm_apply_state()
This patch adds to check the return value from pwm_apply_state()
used in enable_store(). The error of enable_store() doesn't work
if the return value doesn't received.
Signed-off-by: Ryo Kodama <[email protected]>
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Fixes: 39100ceea79f ("pwm: Switch to the atomic API")
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel-hlcdc.c')
0 files changed, 0 insertions, 0 deletions
