mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "mhi: core: Add the basic sanity to check the irq registration"
This commit is contained in:
commit
41978afa6c
1 changed files with 4 additions and 1 deletions
|
|
@ -435,8 +435,11 @@ int mhi_init_irq_setup(struct mhi_controller *mhi_cntrl)
|
|||
mhi_intvec_threaded_handlr,
|
||||
IRQF_ONESHOT | IRQF_NO_SUSPEND,
|
||||
"mhi", mhi_cntrl);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
MHI_CNTRL_ERR("Error in requesting threaded irq:%d, ret=%d\n",
|
||||
mhi_cntrl->irq[0], ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) {
|
||||
if (!mhi_event->request_irq)
|
||||
|
|
|
|||
Loading…
Reference in a new issue