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

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

Merge "usb: f_gsi: Fix wrong enum usage"

parents 33ab37d1 dc471431
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2634,7 +2634,7 @@ static int gsi_get_status(struct usb_function *f)
	struct f_gsi *gsi = func_to_gsi(f);

	/* Disable function remote wake-up for DPL interface */
	if (gsi->prot_id == IPA_USB_DIAG)
	if (gsi->prot_id == USB_PROT_DIAG_IPA)
		return 0;

	return (remote_wakeup_en_status << FUNC_WAKEUP_ENABLE_SHIFT) |