commit | fe5aa34d6eb9c4d34071845f70f3714b41c8a77d | [log] [tgz] |
---|---|---|
author | Ryo Kodama <ryo.kodama.vz@renesas.com> | Wed Jun 08 10:58:23 2016 +0900 |
committer | Thierry Reding <thierry.reding@gmail.com> | Fri Jun 10 14:24:40 2016 +0200 |
tree | 941c6fec129aff1b1436cefab2fe3af76cab2ea0 | |
parent | ef2bf4997f7da6efa8540d9cf726c44bf2b863af [diff] |
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 <ryo.kodama.vz@renesas.com> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Fixes: 39100ceea79f ("pwm: Switch to the atomic API") Signed-off-by: Thierry Reding <thierry.reding@gmail.com>