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> |
||
|---|---|---|
| .. | ||
| core.h | ||
| irq.h | ||
| rtc.h | ||
| s2mpa01.h | ||
| s2mps11.h | ||
| s2mps13.h | ||
| s2mps14.h | ||
| s2mpu02.h | ||
| s5m8763.h | ||
| s5m8767.h | ||