Commit e964f329 authored by Rohith Kollalsi's avatar Rohith Kollalsi Committed by Gerrit - the friendly Code Review server
Browse files

usb: configfs: Add null check for function config in android setup



When composition switch fails and composition is fallen to previous
composition, there is a chance that function config is null in
android setup which leads to null pointer dereference in function
driver. To avoid that add null check for function config in android
setup.

Change-Id: I922d279fcab6d2b1e945f1ba718cd40aafa3c2cb
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent dcc6a460
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment