]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fix NULL pointer with MUSB and DMA on ISO ep
authorHunyue Yau <hyau@mvista.com>
Thu, 1 Nov 2007 22:40:49 +0000 (15:40 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2007 20:51:18 +0000 (12:51 -0800)
commit2a0f92772e3137bb0fafd0a29817ec6a0b7e5b21
tree0800c636b350e69167242b46908f8b7790ff0f63
parentc69036d6e8c279aa062211c98da31586de1fc6a1
fix NULL pointer with MUSB and DMA on ISO ep

For the case of an isochonous endpoint, musb_write_fifo may be
called with a NULL buffer from musb_host_tx if DMA is enabled.
Remove DMA check and always supply a valid buffer as long as
the URB contains a valid buffer.

Signed-off-by: Hunyue Yau <hyau@mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/musb_host.c