summaryrefslogtreecommitdiff
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-08-08 16:20:15 -0700
committerDmitry Shmidt <dimitrysh@google.com>2018-01-08 09:04:06 -0800
commiteb4909b080c437ebb12cbdea1dce7fc60741c2bd (patch)
treea7999ddc8a89673a32a1d18e34bfd3cd0dcd5c42 /net/sunrpc/svcauth_unix.c
parentdac143966992a69b158f9ab9cb45f7adfa9d168c (diff)
ANDROID: usb: f_fs: Prevent gadget unbind if it is already unbound
Upon usb composition switch there is possibility of ep0 file release happening after gadget driver bind. In case of composition switch from adb to a non-adb composition gadget will never gets bound again resulting into failure of usb device enumeration. Fix this issue by checking FFS_FL_BOUND flag and avoid extra gadget driver unbind if it is already done as part of composition switch. Change-Id: I1638001ff4a94f08224b188aa42425f3d732fa2b Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions