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

Commit 87b0de74 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: gadget: Check if suspended in dwc3_thread_interrupt"

parents 2e247a50 3fa2fcc4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2948,6 +2948,14 @@ static irqreturn_t dwc3_thread_interrupt(int irq, void *_dwc)

			event.raw = *(u32 *) (evt->buf + evt->lpos);

			/* Core registers may not be accessible in LPM */
			if (pm_runtime_suspended(dwc->dev)) {
				dev_warn(dwc->dev, "%s: event (0x%x, count %d) while suspended\n",
						__func__, event.raw,
						evt->count);
				break;
			}

			dwc3_process_event_entry(dwc, &event);

			/*