usb: renesas_usbhs: gadget: usbhsg_ep_disable() care pipe settings
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Dec 2012 06:44:07 +0000 (22:44 -0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:43 +0000 (11:58 +0200)
commitd9fa298f215e050dbb28a6f75fe76459ebd2e7f0
treee93a06d61eed19370fa22ea8f43d68607b1a7e56
parent69f5165ebef1d90bd58e9ce5db018218ea4d089c
usb: renesas_usbhs: gadget: usbhsg_ep_disable() care pipe settings

Current usbhsg_ep_disable() didn't care
uep->pipe and pipe->mod_private variable which is used on usbhsg_ep_enable().
It breaks renesas_usbhs gadget when resume.
This patch fixes it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod_gadget.c