usb: musb: tusb: Fix possible null pointer dereference in tusb6010_omap.c
authorHuzaifa Sidhpurwala <huzaifas@redhat.com>
Tue, 1 Mar 2011 10:24:22 +0000 (15:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 10:35:23 +0000 (12:35 +0200)
commitc88ba39c1ea6a1591b6842199069ff50748d2073
treeaffac446cabe2ff46063ab0eec1c754a8d166a51
parent70045c57f31f998a7206baa81167c7bc9f452cef
usb: musb: tusb: Fix possible null pointer dereference in tusb6010_omap.c

tusb_dma was being dereferenced when it was nul

Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/tusb6010_omap.c