Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41978afa authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents a1531c64 b4c9cf2e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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)