usb: gadget: renesas_usbhs: bugfix: care pipe direction
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Oct 2011 09:24:49 +0000 (02:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Nov 2011 19:51:29 +0000 (11:51 -0800)
renesas_usbhs is caring pipe type and its direction.
but current usbhs_endpoint_alloc() didn't check direction.
this patch modify it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found