diff options
author | Heiko Stübner <heiko@sntech.de> | 2015-04-16 12:46:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:02 -0400 |
commit | f539a8acf1070557aef9c5df682751ba2af1005f (patch) | |
tree | 33fb2c970dd0c91e5f0539e0643ed8ff7d2be99b /drivers/rtc/rtc-msm6242.c | |
parent | 492da68c8c3babc573208e057a9011d9489f2b5a (diff) | |
download | op-kernel-dev-f539a8acf1070557aef9c5df682751ba2af1005f.zip op-kernel-dev-f539a8acf1070557aef9c5df682751ba2af1005f.tar.gz |
drivers/rtc/rtc-hym8563.c: fix swapped enable/disable of clockout control bit
The hym8563 datasheet describes the clock output control-bit as "when set
to logic 0, the square wave output is enable, when set to logic 1, the
CLKOUT output is inhibited". But in reality the setting is exactly
opposite.
Before now, the clock output was not really used, but on the rk3288 soc
this generated clock is used to supply the temperature sensor block and
the swapped bit value prevented it from working. With the corrected
value, the tsadc now reports correct values.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-msm6242.c')
0 files changed, 0 insertions, 0 deletions