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

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

Merge "USB: f_fs: Use HS and SS descriptors without checking gadget speed"

parents 6331a9e9 9228c040
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -2980,10 +2980,8 @@ static int _ffs_func_bind(struct usb_configuration *c,
	struct ffs_data *ffs = func->ffs;
	struct ffs_data *ffs = func->ffs;


	const int full = !!func->ffs->fs_descs_count;
	const int full = !!func->ffs->fs_descs_count;
	const int high = gadget_is_dualspeed(func->gadget) &&
	const int high = func->ffs->hs_descs_count;
		func->ffs->hs_descs_count;
	const int super = func->ffs->ss_descs_count;
	const int super = gadget_is_superspeed(func->gadget) &&
		func->ffs->ss_descs_count;


	int fs_len, hs_len, ss_len, ret, i;
	int fs_len, hs_len, ss_len, ret, i;
	struct ffs_ep *eps_ptr;
	struct ffs_ep *eps_ptr;