linux_dsm_epyc7002/drivers/usb/musb
Sebastian Andrzej Siewior d373a8534d usb: musb: musb_cppi41: factor most of cppi41_dma_callback() into cppi41_trans_done()
This patch moves most of the logic in cppi41_dma_callback() into
cppi41_trans_done() where it can be called from another function.
Instead of computing "transferred" (the number of bytes transferred in
the last transaction) in cppi41_trans_done() the member
"cppi41_channel->prog_len" is now set to 0 if the transfer as a whole
can be considered as done. If it is != 0 then the next iteration is
assumed.
This is a preparation for a workaround.

Cc: stable@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-11-25 10:54:06 -06:00
..
am35x.c usb: musb: am35x: use SIMPLE_DEV_PM_OPS 2013-10-02 08:21:23 -05:00
blackfin.c usb: musb: blackfin: use SIMPLE_DEV_PM_OPS 2013-10-02 08:21:55 -05:00
blackfin.h
cppi_dma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
cppi_dma.h
da8xx.c usb: musb: use platform_device_register_full() to avoid directly messing with dma masks 2013-10-01 09:31:19 -05:00
davinci.c usb: musb: davinci: fix resources passed to MUSB driver for DM6467 2013-10-01 09:44:01 -05:00
davinci.h
Kconfig usb: patches for v3.13 2013-10-24 16:18:40 +01:00
Makefile usb: musb dma: add cppi41 dma driver 2013-08-09 17:40:16 +03:00
musb_am335x.c usb: musb_am335x: Remove redundant of_match_ptr 2013-10-04 09:25:11 -05:00
musb_core.c usb: patches for v3.13 2013-10-24 16:18:40 +01:00
musb_core.h Merge 3.12-rc6 into usb-next. 2013-10-19 13:19:07 -07:00
musb_cppi41.c usb: musb: musb_cppi41: factor most of cppi41_dma_callback() into cppi41_trans_done() 2013-11-25 10:54:06 -06:00
musb_debug.h
musb_debugfs.c
musb_dma.h usb: musb dma: add cppi41 dma driver 2013-08-09 17:40:16 +03:00
musb_dsps.c usb: patches for v3.13 2013-10-24 16:18:40 +01:00
musb_gadget_ep0.c
musb_gadget.c usb: fix musb gadget to enable OTG mode conditionally 2013-11-25 10:25:58 -06:00
musb_gadget.h
musb_host.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
musb_host.h usb: patches for v3.11 merge window 2013-06-12 14:44:13 -07:00
musb_io.h
musb_regs.h
musb_virthub.c usb: patches for v3.13 2013-10-24 16:18:40 +01:00
musbhsdma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
musbhsdma.h
omap2430.c usb: patches for v3.13 2013-10-24 16:18:40 +01:00
omap2430.h
tusb6010_omap.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
tusb6010.c usb: musb: use platform_device_register_full() to avoid directly messing with dma masks 2013-10-01 09:31:19 -05:00
tusb6010.h
ux500_dma.c usb: musb: ux500: Add check for NULL board data 2013-08-27 15:05:39 -05:00
ux500.c ARM: SoC DT updates for 3.13 2013-11-11 17:34:56 +09:00