diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-04-02 16:36:15 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-04-09 10:26:54 +0100 |
commit | e554a99ee8d09132e80dc467433c9a4df9054645 (patch) | |
tree | 3453073a3755677fe0bc8fb2947397cba0bc394d /drivers/input | |
parent | dcbbcba92601dc05e5c9a844cb35a9112cb7d7ad (diff) | |
download | linux-e554a99ee8d09132e80dc467433c9a4df9054645.tar.bz2 |
mfd: sec: Fix RTC alarm interrupt number on S2MPS11
The RTC on S2MPS11 is the same as S2MPS14. However interrupt numbers of
RTC alarms 0 and 1 were inversed between these two devices. So when
rtc-s5m driver requested S2MPS14_IRQ_RTCA0 interrupt, it matched to
S2MPS11_IRQ_RTCA1, not RTCA0.
Fix this by using consistent RTC alarm interrupt numbers and adding a
BUILD_BUG_ON for future generations.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions