USB: android: Fix adb device file closing bug

adb device file closing and config disabling can happen in
parallel during composition switch.  If adb device file
is closed prior to config disable, adb function driver request
android to disable configuration.  But this is not undone later
when adb device file is opened.  Due to this bug config remains
disabled after composition switch completion.  Fix this bug.

CRs-Fixed: 414360
Change-Id: Id6cdbda5a6280465571e21d21adb164d922e1bb1
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
1 file changed