USB: musb: don't dereference NULL tusb_dma indma_controller_destroy()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 2 Mar 2010 20:39:35 +0000 (12:39 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 2 Mar 2010 20:39:35 +0000 (12:39 -0800)
Test whether tusb_dma is not NULL before dereferencing

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found