rtc: omap: fix interrupt disable at probe
authorJohan Hovold <[email protected]>
Wed, 10 Dec 2014 23:52:36 +0000 (15:52 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:13 +0000 (17:41 -0800)
commit1ed8b5d26c33d5c95845be7d51aae2bf6f1b053c
treea48bd8d37cdda37e99ded7e476d2eebc0e4c9b27
parent7ecd9a3f062147400e605713724dd67dbb7e5053
rtc: omap: fix interrupt disable at probe

Use writel instead of writeb when disabling interrupts at probe as
ALARM2 is not cleared otherwise on some IP-block revisions (e.g.
AM3352).

Note that the driver currently never enables the ALARM2 interrupt.

Signed-off-by: Johan Hovold <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Benot Cousson <[email protected]>
Cc: Lokesh Vutla <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Sekhar Nori <[email protected]>
Cc: Tero Kristo <[email protected]>
Cc: Keerthy J <[email protected]>
Tested-by: Felipe Balbi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-omap.c