提交 4dc40a3c 编写于 作者: C Clemens Ladisch 提交者: Jaroslav Kysela

[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: NClemens Ladisch <clemens@ladisch.de>
上级 27d10f56
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册