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

Commit 1a40ae20 authored by Mayank Rana's avatar Mayank Rana
Browse files

f_qdss: allow USB enumeration if speed is full speed mode



Currently USB QDSS driver fails set_alt() if enumerated speed
is full speed as USB BAM can't support full speed mode. To
allow other USB interfaces to work in full speed, this change
doesn't fail USB QDSS set_alt() although it doesn't enable
USB QDSS related endpoints and queue any endless transfer.

Change-Id: Id36629bc1b5d2bd633a9cfb33068bf84878e52be
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 01697ba5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -677,7 +677,6 @@ static int qdss_set_alt(struct usb_function *f, unsigned int intf,
	if (gadget->speed < USB_SPEED_HIGH) {
		pr_err("%s: qdss doesn't support USB full or low speed\n",
								__func__);
		ret = -EINVAL;
		goto fail1;
	}