diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2018-02-05 09:12:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-15 18:43:57 +0100 |
commit | d6efa938ac366fe8cb92d6157f74d43cc35f1c67 (patch) | |
tree | 187c8dab2be3b3c643ae7ecbc5c7eafb28308e43 /drivers/iommu/tegra-smmu.c | |
parent | usb: host: ehci: use correct device pointer for dma ops (diff) | |
download | linux-d6efa938ac366fe8cb92d6157f74d43cc35f1c67.tar.xz linux-d6efa938ac366fe8cb92d6157f74d43cc35f1c67.zip |
usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
This fixes an issue that a gadget driver (usb_f_fs) is possible to
stop rx transactions after the usb-dmac is used because the following
functions missed to set/check the "running" flag.
- usbhsf_dma_prepare_pop_with_usb_dmac()
- usbhsf_dma_pop_done_with_usb_dmac()
So, if next transaction uses pio, the usbhsf_prepare_pop() can not
start the transaction because the "running" flag is 0.
Fixes: 8355b2b3082d ("usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle")
Cc: <stable@vger.kernel.org> # v3.19+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu/tegra-smmu.c')
0 files changed, 0 insertions, 0 deletions