usb: renesas_usbhs: gadget: remove usbhsg_uep_init()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Dec 2012 06:43:45 +0000 (22:43 -0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:39 +0000 (11:58 +0200)
commit584829459bd4421f0f57d11a6ceeef096ec81d08
treee6fffe902000c37f200c22f1038cff96b4e1c29c
parent1604c1e760119ab3fe9f71679ebaeb058d3d8ae1
usb: renesas_usbhs: gadget: remove usbhsg_uep_init()

Current driver always initialized uep->pipe to NULL on usbhsg_try_start().
But it breaks relationship with
usb_ep_ops :: enable/disable functions when suspend/resume.
This patch solved this issue by initializing uep->pipe on probe()

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