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

Commit a2b63cb5 authored by David Mosberger-Tang's avatar David Mosberger-Tang Committed by Greg Kroah-Hartman
Browse files

usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET

parent 2eb5dbdd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1480,6 +1480,7 @@ max3421_reset_port(struct usb_hcd *hcd)

	max3421_hcd->port_status &= ~(USB_PORT_STAT_ENABLE |
				      USB_PORT_STAT_LOW_SPEED);
	max3421_hcd->port_status |= USB_PORT_STAT_RESET;
	set_bit(RESET_PORT, &max3421_hcd->todo);
	wake_up_process(max3421_hcd->spi_thread);
	return 0;