Subject: + rtc-s5m-fix-unsuccesful-irq-request-during-probe.patch added to -mm tree To: k.kozlow...@samsung.com,a.zu...@towertech.it,broo...@linaro.org,ge...@linux-m68k.org,kyungmin.p...@samsung.com,lee.jo...@linaro.org,lgirdw...@gmail.com,m.szyprow...@samsung.com,sa...@linux.intel.com,sbki...@samsung.com,stable@vger.kernel.org From: a...@linux-foundation.org Date: Mon, 02 Dec 2013 15:15:40 -0800
The patch titled Subject: rtc: s5m: fix unsuccesful IRQ request during probe has been added to the -mm tree. Its filename is rtc-s5m-fix-unsuccesful-irq-request-during-probe.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/rtc-s5m-fix-unsuccesful-irq-request-during-probe.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-s5m-fix-unsuccesful-irq-request-during-probe.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Krzysztof Kozlowski <k.kozlow...@samsung.com> Subject: rtc: s5m: fix unsuccesful IRQ request during probe Probe failed for rtc-s5m: s5m-rtc s5m-rtc: Failed to request alarm IRQ: 12: -22 s5m-rtc: probe of s5m-rtc failed with error -22 Fix rtc-s5m interrupt request by using regmap_irq_get_virq() for mapping the IRQ. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com> Reviwed-by: Mark Brown <broo...@linaro.org> Acked-by: Sangbeom Kim <sbki...@samsung.com> Cc: Samuel Ortiz <sa...@linux.intel.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: Liam Girdwood <lgirdw...@gmail.com> Cc: Alessandro Zummo <a.zu...@towertech.it> Cc: Marek Szyprowski <m.szyprow...@samsung.com> Cc: Geert Uytterhoeven <ge...@linux-m68k.org> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <a...@linux-foundation.org> --- drivers/rtc/rtc-s5m.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN drivers/rtc/rtc-s5m.c~rtc-s5m-fix-unsuccesful-irq-request-during-probe drivers/rtc/rtc-s5m.c --- a/drivers/rtc/rtc-s5m.c~rtc-s5m-fix-unsuccesful-irq-request-during-probe +++ a/drivers/rtc/rtc-s5m.c @@ -548,11 +548,13 @@ static int s5m_rtc_probe(struct platform switch (pdata->device_type) { case S5M8763X: - info->irq = s5m87xx->irq_base + S5M8763_IRQ_ALARM0; + info->irq = regmap_irq_get_virq(s5m87xx->irq_data, + S5M8763_IRQ_ALARM0); break; case S5M8767X: - info->irq = s5m87xx->irq_base + S5M8767_IRQ_RTCA1; + info->irq = regmap_irq_get_virq(s5m87xx->irq_data, + S5M8767_IRQ_RTCA1); break; default: _ Patches currently in -mm which might be from k.kozlow...@samsung.com are mfd-rtc-s5m-fix-register-updating-by-adding-regmap-for-rtc.patch rtc-s5m-fix-unsuccesful-irq-request-during-probe.patch rtc-s5m-limit-endless-loop-waiting-for-register-update.patch rtc-s5m-enable-irq-wake-during-suspend.patch mfd-sec-constify-regmap-configs-and-regmap-irqs.patch swap-fix-setting-page_size-blocksize-during-swapoff-swapon-race.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html