usbcore: Select UAC3 configuration for audio if present
authorSaranya Gopal <saranya.gopal@intel.com>
Wed, 12 Sep 2018 03:16:26 +0000 (08:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 11:12:05 +0000 (13:12 +0200)
commitf13912d3f014a7f2fa5c35d25ee8c3f96bda6272
treead1b5eea466358a6d08a865ae601462dc6f3ab7e
parent28da90f19cdec24d669d75942fec227f4de37abd
usbcore: Select UAC3 configuration for audio if present

USB audio class 3.0 specification introduced many significant
changes like
 - new power domains, support for LPM/L1
 - new cluster descriptor
 - new high capability and class-specific string descriptors
 - BADD profiles
 - ... and many other things (check spec from link below:
http://www.usb.org/developers/docs/devclass_docs/USB_Audio_v3.0.zip)

Now that UAC3 is supported in linux, choose UAC3
configuration for audio if the device supports it.
Selecting this configuration will enable the system to
save power by leveraging the new power domains and LPM L1
capability and also support new codec types and data formats
for consumer audio applications.

Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Reviewed-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/generic.c