ALSA: usb-audio: Parse source ID of UAC2 effect unit
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Feb 2020 11:20:59 +0000 (12:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Feb 2020 14:30:16 +0000 (15:30 +0100)
commit60081b35c68ba6a466dee08de581be06999c930a
tree6ca474dacb98db239941d4c6dba293082c966b17
parent10fa9512769fa3b15ea29f4f331f4604c17b4b2c
ALSA: usb-audio: Parse source ID of UAC2 effect unit

During parsing the input source, we currently cut off at the Effect
Unit node without parsing further its source id.  It's no big problem,
so far, but it should be more consistent to parse it properly.

This patch adds the recursive parsing in parse_term_effect_unit().
It doesn't add anything in the audio unit parser itself, and the
effect unit itself is still skipped, though.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206147
Link: https://lore.kernel.org/r/20200213112059.18745-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c