diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-05-02 08:52:32 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 10:05:51 +0200 |
commit | 4dc40a3cc4778ebcb6212bdb71b48690a153be07 (patch) | |
tree | cbc39632f4150b78e3274548e00039448ea1afe5 /sound/usb | |
parent | 27d10f5664c7650af3b2ffadfefaf19b36dc7bd8 (diff) | |
download | blackbird-op-linux-4dc40a3cc4778ebcb6212bdb71b48690a153be07.tar.gz blackbird-op-linux-4dc40a3cc4778ebcb6212bdb71b48690a153be07.zip |
[ALSA] usb-audio - allow type 0 extension units
USB generic driver
Extension units can have type 0, so do not ignore them when constructing
mixer controls.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/usbmixer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index bfaec4fc1851..5683ae0b5ba1 100644 --- a/sound/usb/usbmixer.c +++ b/sound/usb/usbmixer.c @@ -1232,9 +1232,6 @@ static int build_audio_procunit(mixer_build_t *state, int unitid, unsigned char } type = combine_word(&dsc[4]); - if (! type) - return 0; /* undefined? */ - for (info = list; info && info->type; info++) if (info->type == type) break; |