diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-06-19 17:27:27 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-06-26 21:23:54 (GMT) |
commit | fed1bf8dc76cd102892379fce59b9ba237afd438 (patch) | |
tree | b035f2e9f6b6d9f4039088f0578d9717eb252384 /drivers/pwm/pwm-tiehrpwm.c | |
parent | 71077bc8db67f560453d62c48e3bec467ec6b37f (diff) | |
download | linux-fed1bf8dc76cd102892379fce59b9ba237afd438.tar.xz |
pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit
Current code actually does not set MODE1_SLEEP bit because the new value for
bitmask (0x1) is wrong. To set MODE1_SLEEP bit, we should pass MODE1_SLEEP
as the new value for bitmask.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-tiehrpwm.c')
0 files changed, 0 insertions, 0 deletions