usb: gadget: u_audio: Subdevice 0 for capture ctls
authorPavel Hofman <pavel.hofman@ivitera.com>
Wed, 5 Jan 2022 10:46:43 +0000 (11:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jan 2022 14:31:02 +0000 (15:31 +0100)
commit601a5bc1aeef772ab1f47582fd322957799f5ab5
tree21603a461a09edd8fbdaadf8eb14edf9fdcbdd4b
parentf2f69bf65df12176843ca11eab99949ba69e128b
usb: gadget: u_audio: Subdevice 0 for capture ctls

Both capture and playback alsa devices use subdevice 0. Yet capture-side
ctls are defined for subdevice 1. The patch sets subdevice 0 for them.

Fixes: 02de698ca812 ("usb: gadget: u_audio: add bi-directional volume and mute support")
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220105104643.90125-1-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_audio.c