mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
soc: qcom: Fixed interrupts not work on sdxnightjar
Correct the interrupt initialization for modem pil. Change-Id: I36661107644ca33f867121d1b46e69cea15ed0f2 Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
This commit is contained in:
parent
9ddceddf30
commit
9dce470f2c
1 changed files with 5 additions and 1 deletions
|
|
@ -497,6 +497,10 @@ static int pil_subsys_init(struct modem_data *drv,
|
|||
drv->subsys_desc.powerup = modem_powerup;
|
||||
drv->subsys_desc.ramdump = modem_ramdump;
|
||||
drv->subsys_desc.crash_shutdown = modem_crash_shutdown;
|
||||
ret = pil_parse_irqs(pdev);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
||||
if (IS_ERR_OR_NULL(drv->q6)) {
|
||||
ret = PTR_ERR(drv->q6);
|
||||
|
|
@ -528,7 +532,7 @@ static int pil_subsys_init(struct modem_data *drv,
|
|||
goto err_subsys;
|
||||
}
|
||||
|
||||
ret = pil_parse_irqs(pdev);
|
||||
ret = pil_setup_irqs(pdev);
|
||||
if (ret) {
|
||||
subsys_unregister(drv->subsys);
|
||||
goto err_subsys;
|
||||
|
|
|
|||
Loading…
Reference in a new issue