summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-02-25 10:58:43 -0600
committerFelipe Balbi <balbi@ti.com>2014-03-05 09:44:48 -0600
commiteee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 (patch)
tree4838a95542403643b7848dbafee18703118cd77e /drivers/usb/phy
parent40f099e32c2a06bad7d75683421e30fcc74924cd (diff)
downloadlinux-eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1.tar.bz2
usb: musb: avoid NULL pointer dereference
instead of relying on the otg pointer, which can be NULL in certain cases, we can use the gadget and host pointers we already hold inside struct musb. Cc: <stable@vger.kernel.org> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions