usb: renesas_usbhs: modify fifo clear timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 21 Apr 2011 05:09:58 +0000 (14:09 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:31 +0000 (17:24 -0700)
commit45e13e6e0aa954af2d4779a07262f4c12d6f032f
tree31067107be638d85102ac5347d69e029473802fe
parenta0c25c20502e0c4a467f5d7e27b2a599cfe57abe
usb: renesas_usbhs: modify fifo clear timing

Pipe buffer should be cleaned before using it,
but should NOT be cleaned in pipe "prepare" function.
Because the pipe might be working in such timing.
This patch fixup this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/pipe.c