diff options
author | Clemens Ladisch <[email protected]> | 2013-06-15 11:21:09 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2013-06-17 09:56:52 +0200 |
commit | 342cda29343a6272c630f94ed56810a76740251b (patch) | |
tree | f8cf67d4967a15d35089bf750f0ff82a90ed1725 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | d81bf8cf549f7a6656a64924672a42c101d17026 (diff) |
ALSA: usb-audio: work around Android accessory firmware bug
When the Android firmware enables the audio interfaces in accessory
mode, it always declares in the control interface's baInterfaceNr array
that interfaces 0 and 1 belong to the audio function. However, the
accessory interface itself, if also enabled, already is at index 0 and
shifts the actual audio interface numbers to 1 and 2, which prevents the
PCM streaming interface from being seen by the host driver.
To get the PCM interface interface to work, detect when the descriptors
point to the (for this driver useless) accessory interface, and redirect
to the correct one.
Reported-by: Jeremy Rosen <[email protected]>
Tested-by: Jeremy Rosen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Clemens Ladisch <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions