]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: host: correct cppi dma channel for isoch transfer
authorBin Liu <b-liu@ti.com>
Tue, 31 May 2016 15:05:25 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jul 2016 16:31:13 +0000 (09:31 -0700)
commitfaa1dbbed20150a1f6b350afba1f95087b4abff4
treef121a88c7bb91dd6ac5c66c7a1a922f815327fd8
parenta8f7a6d2ce8a480c48afe2ce3164c66c870bf323
usb: musb: host: correct cppi dma channel for isoch transfer

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().

Fixes: 069a3fd (usb: musb: Remove ifdefs for musb_host_rx in musb_host.c
part1)

Reported-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_host.c