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

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

Merge "USB: u_bam: Acquire the correct gbam port ul or dl spinlock"

parents 0f575dd2 07038c15
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1026,9 +1026,9 @@ static int _gbam_start_io(struct gbam_port *port, bool in)
	void		(*ep_complete)(struct usb_ep *, struct usb_request *);

	if (in)
		spinlock = &port->port_lock_ul;
	else
		spinlock = &port->port_lock_dl;
	else
		spinlock = &port->port_lock_ul;

	spin_lock_irqsave(spinlock, flags);
	if (!port->port_usb) {