summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/fifo.c
diff options
context:
space:
mode:
authorKuninori Morimoto2011-10-11 07:04:53 +0200
committerFelipe Balbi2011-10-13 19:41:45 +0200
commit654c35ab5e643aa7ff34fbc11315f4a6e3a3e1f5 (patch)
tree783eb7916ccb1eac1af7a44ad0e743435dcf17be /drivers/usb/renesas_usbhs/fifo.c
parentusb: gadget: renesas_usbhs: move done callback to struct usbhs_pkt (diff)
downloadkernel-qcow2-linux-654c35ab5e643aa7ff34fbc11315f4a6e3a3e1f5.tar.gz
kernel-qcow2-linux-654c35ab5e643aa7ff34fbc11315f4a6e3a3e1f5.tar.xz
kernel-qcow2-linux-654c35ab5e643aa7ff34fbc11315f4a6e3a3e1f5.zip
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>
Diffstat (limited to 'drivers/usb/renesas_usbhs/fifo.c')
-rw-r--r--drivers/usb/renesas_usbhs/fifo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index 8b40726ba966..87f56b604809 100644
--- a/drivers/usb/renesas_usbhs/fifo.c
+++ b/drivers/usb/renesas_usbhs/fifo.c
@@ -93,8 +93,6 @@ void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt,
usbhs_unlock(priv, flags);
/******************** spin unlock ******************/
-
- usbhs_pkt_start(pipe);
}
static void __usbhsf_pkt_del(struct usbhs_pkt *pkt)