USB: HAL: Rework USB audio reset recovery implementation
Android CTS/VTS tests verifies USB DEVFS functionality, which allows for
userspace entities to override the currently binded class driver. The
existing mechanism monitors USB interface unbind events to determine if an
USB bus reset occurs. However, the USB DEVFS unbind and USB bus reset
results in the same operations. This leads to the USB DEVFS unbind ioctl
to kick in the recovery mechanism.
Due to this, the Android CTS/VTS test case fails. Modify the current
implementation to monitor for USB interface change uevents, which is going
to be generated from newly added pre/post reset callbacks within the DWC3
MSM driver.
Change-Id: I5677c08aefc012dce21d07b04817b7736d2abafb
1 file changed