Commit 94dc6140 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: gadget: android: Add NULL check for platform data



Add NULL check for platform data which might otherwise
cause NULL pointer derefernce in case pdata is not defined
for the target.

Change-Id: Ie482f107048acc5c4ba0993196af3902af3b81d6
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent abe3c9c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment