OpenCloudOS-Kernel/drivers/usb/renesas_usbhs
Yoshihiro Shimoda d6efa938ac 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: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-15 18:43:57 +01:00
..
Kconfig usb: renesas_usbhs: Use ARCH_RENESAS 2016-02-20 20:21:53 -08:00
Makefile usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
common.c usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
common.h usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
fifo.c usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path 2018-02-15 18:43:57 +01:00
fifo.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod_gadget.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod_host.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
pipe.c usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
rcar2.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
rcar2.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rcar3.c usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel 2017-12-14 09:57:38 +02:00
rcar3.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rza.c usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
rza.h usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00