diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-09 21:57:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 23:54:14 +0100 |
commit | 94089d56e456d2814c379538919180957a254e4a (patch) | |
tree | 03e64466bbd6a647dd32c7ecaa0adeee5e89d95c /drivers/usb/usb-skeleton.c | |
parent | USB: Move hcd free_dev call into usb_disconnect to fix oops (diff) | |
download | linux-94089d56e456d2814c379538919180957a254e4a.tar.xz linux-94089d56e456d2814c379538919180957a254e4a.zip |
USB: musb: don't dereference NULL tusb_dma in dma_controller_destroy()
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>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions