pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit
authorAxel Lin <axel.lin@ingics.com>
Wed, 19 Jun 2013 17:27:27 +0000 (01:27 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 26 Jun 2013 21:23:54 +0000 (23:23 +0200)
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>

No differences found