mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
2f07a1986dee6a2cea0087f431c149b11a17fe8e
This patch adds feature unit descriptor for f_uac1 and f_uac2, and supports volume control and mute control for capture and playback. By default, the volume and mute feature unit descriptors are NOT add in the UAC descriptor. The user can define whether the UAC1/ UAC2 shall support volume and mute functionality via the attributes c_feature_unit/p_feature_unit in the UAC function directory. For example, user can add the volume and mute feature unit descriptors for UAC1 capture and playback: echo 1 > /config/usb-gadget/gadget/functions/uac1.name/c_feature_unit echo 1 > /config/usb-gadget/gadget/functions/uac1.name/p_feature_unit This patch also adds uevents for volume and mute functionality. The user can complete the real volume and mute control functionality in the user space depends on these new uevents (like the uac_app in the RV1126/RV1109 SDK). Change-Id: I76d447a19fd69e038851040cd73e6c7d420f467d Signed-off-by: William Wu <william.wu@rock-chips.com> Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%