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

Commit d7a00ec1 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Greg Kroah-Hartman
Browse files

usb: gadget: renesas_usbhs: bugfix: set DATA0 when usbhsh_endpoint_alloc()



new endpoint should start from DATA0,
but mod_host didn't care it.
This patch fix it.

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 146ee50a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -435,6 +435,7 @@ usbhsh_endpoint_alloc_find_pipe:
	 * see
	 *  DCPMAXP/PIPEMAXP
	 */
	usbhs_pipe_sequence_data0(uep->pipe);
	usbhs_pipe_config_update(uep->pipe,
				 usbhsh_device_number(hpriv, udev),
				 usb_endpoint_num(desc),