usb: renesas_usbhs: fix usbhs_pipe_malloc() to re-enable a pipe.
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 9 Jul 2014 11:30:03 +0000 (20:30 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:18 +0000 (09:24 +0900)
commit3516e390f20515fdccf23a0aafa573443ed79dec
tree40c906c9005daec2981a0486774912b9895ec93b
parentef57f7911ece40e35e0fa42a178307ddc1909e4f
usb: renesas_usbhs: fix usbhs_pipe_malloc() to re-enable a pipe.

This patch fixes an issue that the driver cannot push a new data when
a pipe is re-enabled after the pipe is queued.

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
(cherry picked from commit 6a0541599f54b556442d6130e4f9faaad91bf3a2)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/usb/renesas_usbhs/pipe.c