From: Greg Kroah-Hartman Date: Mon, 17 Feb 2020 11:56:35 +0000 (+0100) Subject: 4.4-stable patches X-Git-Tag: v4.19.105~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75aa8420d686bf78981b52ff48e9f695e565f555;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch --- diff --git a/queue-4.4/alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch b/queue-4.4/alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch new file mode 100644 index 00000000000..f6b29e3b445 --- /dev/null +++ b/queue-4.4/alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch @@ -0,0 +1,47 @@ +From 93f9d1a4ac5930654c17412e3911b46ece73755a Mon Sep 17 00:00:00 2001 +From: Arvind Sankar +Date: Tue, 11 Feb 2020 11:22:35 -0500 +Subject: ALSA: usb-audio: Apply sample rate quirk for Audioengine D1 + +From: Arvind Sankar + +commit 93f9d1a4ac5930654c17412e3911b46ece73755a upstream. + +The Audioengine D1 (0x2912:0x30c8) does support reading the sample rate, +but it returns the rate in byte-reversed order. + +When setting sampling rate, the driver produces these warning messages: +[168840.944226] usb 3-2.2: current rate 4500480 is different from the runtime rate 44100 +[168854.930414] usb 3-2.2: current rate 8436480 is different from the runtime rate 48000 +[168905.185825] usb 3-2.1.2: current rate 30465 is different from the runtime rate 96000 + +As can be seen from the hexadecimal conversion, the current rate read +back is byte-reversed from the rate that was set. + +44100 == 0x00ac44, 4500480 == 0x44ac00 +48000 == 0x00bb80, 8436480 == 0x80bb00 +96000 == 0x017700, 30465 == 0x007701 + +Rather than implementing a new quirk to reverse the order, just skip +checking the rate to avoid spamming the log. + +Signed-off-by: Arvind Sankar +Cc: +Link: https://lore.kernel.org/r/20200211162235.1639889-1-nivedita@alum.mit.edu +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman + +--- + sound/usb/quirks.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/sound/usb/quirks.c ++++ b/sound/usb/quirks.c +@@ -1150,6 +1150,7 @@ bool snd_usb_get_sample_rate_quirk(struc + case USB_ID(0x1de7, 0x0014): /* Phoenix Audio TMX320 */ + case USB_ID(0x1de7, 0x0114): /* Phoenix Audio MT202pcs */ + case USB_ID(0x21B4, 0x0081): /* AudioQuest DragonFly */ ++ case USB_ID(0x2912, 0x30c8): /* Audioengine D1 */ + return true; + } + return false; diff --git a/queue-4.4/series b/queue-4.4/series new file mode 100644 index 00000000000..ae986414400 --- /dev/null +++ b/queue-4.4/series @@ -0,0 +1 @@ +alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch diff --git a/queue-4.9/series b/queue-4.9/series new file mode 100644 index 00000000000..ae986414400 --- /dev/null +++ b/queue-4.9/series @@ -0,0 +1 @@ +alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch diff --git a/queue-5.4/series b/queue-5.4/series new file mode 100644 index 00000000000..5eacf225f1c --- /dev/null +++ b/queue-5.4/series @@ -0,0 +1,11 @@ +input-synaptics-switch-t470s-to-rmi4-by-default.patch +input-synaptics-enable-smbus-on-thinkpad-l470.patch +input-synaptics-remove-the-len0049-dmi-id-from-topbuttonpad-list.patch +alsa-usb-audio-fix-uac2-3-effect-unit-parsing.patch +alsa-hda-realtek-add-more-codec-supported-headset-button.patch +alsa-hda-realtek-fix-silent-output-on-msi-gl73.patch +alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch +acpi-ec-fix-flushing-of-pending-work.patch +acpi-pm-s2idle-avoid-possible-race-related-to-the-ec-gpe.patch +acpica-introduce-acpi_any_gpe_status_set.patch +acpi-pm-s2idle-prevent-spurious-scis-from-waking-up-the-system.patch diff --git a/queue-5.5/series b/queue-5.5/series new file mode 100644 index 00000000000..acf23821504 --- /dev/null +++ b/queue-5.5/series @@ -0,0 +1,16 @@ +io_uring-fix-deferred-req-iovec-leak.patch +io_uring-fix-double-prep-iovec-leak.patch +io_uring-retry-raw-bdev-writes-if-we-hit-eopnotsupp.patch +input-synaptics-switch-t470s-to-rmi4-by-default.patch +input-synaptics-enable-smbus-on-thinkpad-l470.patch +input-synaptics-remove-the-len0049-dmi-id-from-topbuttonpad-list.patch +alsa-usb-audio-add-clock-validity-quirk-for-denon-mc7000-mcx8000.patch +alsa-usb-audio-fix-uac2-3-effect-unit-parsing.patch +alsa-pcm-fix-double-hw_free-calls.patch +alsa-hda-realtek-add-more-codec-supported-headset-button.patch +alsa-hda-realtek-fix-silent-output-on-msi-gl73.patch +alsa-usb-audio-apply-sample-rate-quirk-for-audioengine-d1.patch +acpi-ec-fix-flushing-of-pending-work.patch +acpi-pm-s2idle-avoid-possible-race-related-to-the-ec-gpe.patch +acpica-introduce-acpi_any_gpe_status_set.patch +acpi-pm-s2idle-prevent-spurious-scis-from-waking-up-the-system.patch