aboutsummaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2013-11-12 16:37:46 +0100
committerFelipe Balbi2013-11-25 10:54:06 -0600
commitd373a8534d5e1e7a350e40d3c11961a7cd8d530b (patch)
treebcfb4d9f9c9e5a228216a3bb1f5ec0525eecab81 /mm/filemap.c
parent37cfbc42887fbd4ff0f4c520c9f3fdea9e6f2a82 (diff)
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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions