From: Axel Lin Date: Wed, 19 Jun 2013 17:27:27 +0000 (+0800) Subject: pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit X-Git-Tag: v3.11-rc1~51^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed1bf8dc76cd102892379fce59b9ba237afd438;p=pandora-kernel.git 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 Reviewed-by: Steffen Trumtrar Signed-off-by: Thierry Reding --- Reading git-diff-tree failed