USB HAL: Allow autosuspend for any audio devices

Revise uevent regex match to catch any peripheral device enumeration
under dwc3/xhci parent. Extend the current device idProduct/idVendor
specific matching by allowing Audio class devices as well. This is
done by adding a separate uevent match for when interfaces are bound
and check whether the bInterfaceClass reports Audio class.

Also write enabled to the <device>/power/wakeup sysfs attribute to
allow the devices to wakeup from systemwide suspend.

Change-Id: If4a1e4290ced5c3b1ebe41408f4ced38b7849511
1 file changed
tree: be93dcb7495529fe6d0a321d6fc7d011205905ec
  1. etc/
  2. hal/
  3. vendor_product.mk