diff options
author | Felipe Balbi <balbi@ti.com> | 2014-02-25 10:58:43 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-06 07:55:33 -0700 |
commit | 6b32172a1d3cffa74067ced96612bd13658d4fcf (patch) | |
tree | df90f386ef3fed3a0ae2192330c4bae225ff6d5e /Makefile | |
parent | 0bf463e6229ba7d2da00acb72e0a25bce9447696 (diff) |
usb: musb: avoid NULL pointer dereference
commit eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 upstream.
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.
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions