From: Felipe Balbi Date: Tue, 25 Feb 2014 16:58:43 +0000 (-0600) Subject: usb: musb: avoid NULL pointer dereference X-Git-Tag: v3.15-rc1~137^2~25^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1;p=pandora-kernel.git 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: Tested-by: Tony Lindgren Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed