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

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

Merge "usb: ci13xxx_udc: Add print when Port Reset bit is not set"

parents 8adedd84 c6232dda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3804,6 +3804,9 @@ static irqreturn_t udc_irq(void)
		/* order defines priority - do NOT change it */
		if (USBi_URI & intr) {
			isr_statistics.uri++;
			if (!hw_cread(CAP_PORTSC, PORTSC_PR))
				pr_info("%s: USB reset interrupt is delayed\n",
								__func__);
			isr_reset_handler(udc);
		}
		if (USBi_PCI & intr) {
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ struct ci13xxx {
/* PORTSC */
#define PORTSC_FPR            BIT(6)
#define PORTSC_SUSP           BIT(7)
#define PORTSC_PR             BIT(8)
#define PORTSC_HSP            BIT(9)
#define PORTSC_PTC            (0x0FUL << 16)