Merge "mhi: core: Add the basic sanity to check the irq registration"

This commit is contained in:
qctecmdr 2023-01-09 06:41:25 -08:00 committed by Gerrit - the friendly Code Review server
commit 41978afa6c

View File

@ -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)