Skip to content
Snippets Groups Projects
Commit 94089d56 authored by Roel Kluin's avatar Roel Kluin Committed by Greg Kroah-Hartman
Browse files

USB: musb: don't dereference NULL tusb_dma in dma_controller_destroy()


Test whether tusb_dma is not NULL before dereferencing

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f7410ced
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment