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)
commit73ef635a07c0e6a0a159d8beabffb83399429188
treebcf776025ffd5f18293356a80dfa778625470715
parent4703d2e9d06cd1e5add773aa6cc5587e6664bf78
usb: gadget: renesas_usbhs: bugfix: care pipe direction

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>
drivers/usb/renesas_usbhs/mod_host.c