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

Commit 9d906af8 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Call function resume irrespective of speed"

parents 86a90a01 31e1b4f7
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2461,7 +2461,13 @@ void composite_resume(struct usb_gadget *gadget)
				f->func_wakeup_pending = 0;
			}

			if (gadget->speed != USB_SPEED_SUPER && f->resume)
			/*
			 * Call function resume irrespective of the speed.
			 * Individual function needs to retain the USB3 Function
			 * suspend state through out the Device suspend entry
			 * and exit process.
			 */
			if (f->resume)
				f->resume(f);
		}