commit | fed1bf8dc76cd102892379fce59b9ba237afd438 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Jun 20 01:27:27 2013 +0800 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Jun 26 23:23:54 2013 +0200 |
tree | b035f2e9f6b6d9f4039088f0578d9717eb252384 | |
parent | 71077bc8db67f560453d62c48e3bec467ec6b37f [diff] |
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>