diff options
author | Ruslan Bilovol <ruslan.bilovol@gmail.com> | 2021-07-12 14:55:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:10:11 +0200 |
commit | 02de698ca8123782c0c6fb8ed99080e2f032b0d2 (patch) | |
tree | e71937dca9ff2e0852bd290e239b35cf539f0afc /drivers/usb/gadget/function/u_uac2.h | |
parent | b48f8939b9ff593ebed20433bb53c51199920412 (diff) | |
download | lwn-02de698ca8123782c0c6fb8ed99080e2f032b0d2.tar.gz lwn-02de698ca8123782c0c6fb8ed99080e2f032b0d2.zip |
usb: gadget: u_audio: add bi-directional volume and mute support
USB Audio Class 1/2 have ability to change device's
volume and mute by USB Host through class-specific control
requests. Device also can notify Host about volume/mute
change on its side through optional interrupt endpoint.
This patch adds Volume and Mute ALSA controls which can be
used by user to send and receive notifications to/from
the USB Host about Volume and Mute change.
These params come from f_uac* so volume and mute controls
will be created only if the function support and enable
each explicitly
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20210712125529.76070-3-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/u_uac2.h')
0 files changed, 0 insertions, 0 deletions