Merge "mhi: core: Add the basic sanity to check the irq registration"
This commit is contained in:
commit
41978afa6c
@ -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 New Issue
Block a user