linux-stable/drivers/usb/renesas_usbhs
Yoshihiro Shimoda faf1a75046 usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
commit 17aa31f13c upstream.

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: 8355b2b308 ("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: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-28 10:19:43 +01:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL 2017-07-19 10:38:16 +03:00
common.h
fifo.c usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path 2018-02-28 10:19:43 +01:00
fifo.h
mod.c usb: renesas_usbhs: fix clearing the {BRDY,BEMP}STS condition 2016-09-05 13:39:23 +03:00
mod.h
mod_gadget.c usb: changes for v4.14 merge window 2017-08-22 13:16:06 -07:00
mod_host.c usb: renesas_usbhs: constify hc_driver structures 2017-07-30 07:26:52 -07:00
pipe.c usb: renesas_usbhs: make array type_array static const 2017-07-17 13:13:44 +02:00
pipe.h
rcar2.c
rcar2.h
rcar3.c usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3 2017-08-03 12:32:25 +03:00
rcar3.h