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

No differences found