diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-09-02 09:13:15 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-02 09:58:37 (GMT) |
commit | 7b6717e144de6592e614fd7fc3b914b6bf686a9d (patch) | |
tree | 14a5a0040455fc98136a7cdb6f8ec883d7d118c4 /drivers/char | |
parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff) | |
download | linux-7b6717e144de6592e614fd7fc3b914b6bf686a9d.tar.xz |
ALSA: usb-audio: Assume first control interface is for audio
For devices with more than one control interface, let's assume the first
one contains the audio controls. Unfortunately, there is no field in any
of the descriptors to tell us whether a control interface is for audio
or MIDI controls, so a better check is not easy to implement.
On a composite device with audio and MIDI functions, for example, the
code currently overwrites chip->ctrl_intf, causing operations on the
control interface to fail if they are issued after the device probe.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions