25 lines
984 B
Diff
25 lines
984 B
Diff
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
|
# T2 SDE: package/*/linux/hotfix-usb-audio.patch
|
|
# Copyright (C) 2022 The T2 SDE Project
|
|
#
|
|
# This Copyright note is generated by scripts/Create-CopyPatch,
|
|
# more information can be found in the files COPYING and README.
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License version 2 as used by the T2 SDE.
|
|
# --- T2-COPYRIGHT-NOTE-END ---
|
|
|
|
--- linux-5.18/sound/usb/mixer.c.vanilla 2022-07-13 20:42:15.840745974 +0200
|
|
+++ linux-5.18/sound/usb/mixer.c 2022-07-13 20:42:22.832746335 +0200
|
|
@@ -930,7 +930,7 @@
|
|
{
|
|
struct uac_clock_source_descriptor *d = p1;
|
|
|
|
- term->type = UAC3_CLOCK_SOURCE << 16; /* virtual type */
|
|
+ term->type = UAC2_CLOCK_SOURCE << 16; /* virtual type */
|
|
term->id = id;
|
|
term->name = d->iClockSource;
|
|
return 0;
|