]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
usb: gadget: renesas_usbhs: disable auto paket start on usbhs_pkt_push()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Oct 2011 05:04:53 +0000 (22:04 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:41:45 +0000 (20:41 +0300)
commit654c35ab5e643aa7ff34fbc11315f4a6e3a3e1f5
tree783eb7916ccb1eac1af7a44ad0e743435dcf17be
parentb331872b85c2ab388129af3343474e02e89498af
usb: gadget: renesas_usbhs: disable auto paket start on usbhs_pkt_push()

Automatically packet start by usbhs_pkt_push() was useful.
But the pushed packet will be called twice
if new packet was pushed on usbhs_pkt :: done callback.
(1st is called by usbhs_pkt_push(), 2nd is called by usbhsf_pkt_handler())

This patch disables automatic packet start,
and clarified packet start timing.

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