Patch "usb: musb: host: correct cppi dma channel for isoch transfer" has been added to the 4.6-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
usb: musb: host: correct cppi dma channel for isoch transfer
to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-musb-host-correct-cppi-dma-channel-for-isoch-transfer.patch
and it can be found in the queue-4.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
04471eb8c3158c0ad9df4b24da845a63b2e8f23aMon Sep 17 00:00:00 2001
From: Bin Liu <[email protected]>
Date: Tue, 31 May 2016 10:05:25 -0500
Subject: usb: musb: host: correct cppi dma channel for isoch transfer
From: Bin Liu <[email protected]>
commit 04471eb8c3158c0ad9df4b24da845a63b2e8f23a upstream.
Incorrect cppi dma channel is referenced in musb_rx_dma_iso_cppi41(), which causes kernel NULL pointer reference oops later when calling cppi41_dma_channel_program().
part1)
--- drivers/usb/musb/musb_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/musb_host.c +1 -1
@@ -1556,7 +1556,7 @@ static int musb_rx_dma_iso_cppi41(struct struct urb *urb, size_t len) { -struct dma_channel *channel = hw_ep->tx_channel; +struct dma_channel *channel = hw_ep->rx_channel;void __iomem *epio = hw_ep->regs;dma_addr_t *buf;u32 length, res;
Patches currently in stable-queue which might be from [email protected] are
queue-4.6/usb-gadget-fix-spinlock-dead-lock-in-gadgetfs.patch queue-4.6/usb-musb-stop-bulk-endpoint-while-queue-is-rotated.patch queue-4.6/usb-musb-ensure-rx-reinit-occurs-for-shared_fifo-endpoints.patch queue-4.6/usb-musb-host-correct-cppi-dma-channel-for-isoch-transfer.patch queue-4.6/usb-musb-only-restore-devctl-when-session-was-set-in-backup.patch