mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
rtc: rtc-twl: Switch to using threaded irq
The driver is accessing to i2c bus in interrupt handler. Therefore, it should use threaded irq. Signed-off-by: Ilkka Koskinen <[email protected]> Acked-by: Balaji T K <[email protected]> Signed-off-by: John Stultz <[email protected]>
This commit is contained in:
parent
bf6ed027bc
commit
dec35d19c4
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev)
|
|||
if (ret < 0)
|
||||
goto out1;
|
||||
|
||||
ret = request_irq(irq, twl_rtc_interrupt,
|
||||
ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt,
|
||||
IRQF_TRIGGER_RISING,
|
||||
dev_name(&rtc->dev), rtc);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue