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

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

Merge "usb: f_cdev: Fix failure in function resume in f_cdev"

parents 33c0aa7c 8c4e938d
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -610,13 +610,13 @@ static int usb_cser_func_suspend(struct usb_function *f, u8 options)
		if (!port->func_is_suspended) {
			usb_cser_suspend(f);
			port->func_is_suspended = true;
		}
	} else {
		if (port->func_is_suspended) {
			port->func_is_suspended = false;
			usb_cser_resume(f);
		}
	}
	}
	return 0;
}