summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-08-08 16:20:15 -0700
committerHemant Kumar <hemantk@codeaurora.org>2016-08-08 17:20:43 -0700
commit35fdb9cd7e90c08ac9697fa330e4e290b9d34f8a (patch)
treed828f1fde44f2a99ee5fff652b7e61bfc92891d9 /include/linux/fpga/fpga-mgr.h
parent9b68fb8b48be1830a83c96a105d0fcc09a10a165 (diff)
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions