]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb01039fd2e05f892e59873e825b205ed20259f97
treebcf776025ffd5f18293356a80dfa778625470715
parente6244a8cdee8698ce6dd75ee6ece1a85041d36c6
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