OSDN Git Service

usb: renesas_usbhs: Use dmac only if the pipe type is bulk
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 8 Aug 2016 12:50:53 +0000 (21:50 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 11 Aug 2016 12:09:43 +0000 (15:09 +0300)
commit700aa7ff8d2c2b9cc669c99375e2ccd06d3cd38d
tree29d96749efc618bb89c2bf3b093f30cc0ebb8c75
parent9ab967e6db7412b675ecbff80d5371d53c82cb2e
usb: renesas_usbhs: Use dmac only if the pipe type is bulk

This patch fixes an issue that isochronous transfer's data is possible to
be lost as a workaround. Since this driver uses a workqueue to start
the dmac, the transfer is possible to be delayed when system load is high.

Fixes: 6e4b74e4690d ("usb: renesas: fix scheduling in atomic context bug")
Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/fifo.c