about summary refs log tree commit diff
path: root/pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-11-16 18:07:43 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-11-16 18:08:41 +0100
commit40fe420d75450d89a3b15c588102faf1e441e750 (patch)
tree03b454a3c0b471e56ee19b31eca6f3ad9ec4ec72 /pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch
parent79f535e13c7f84de74c733aa5b81437cc708f0f2 (diff)
tishtushi: Revert patching Dragonfly quirk.
This reverts commit 7f9f88e90b8ab41a97a86fa4ff8a501e0e0eea27.

The reason why I'm reverting this is because while it indeed fixes the
volume mapping, it doesn't fix my main problem that it takes a few
seconds to go from 100% volume to the desired volume level that's
currently set.

So instead of applying this patch and maintaining it until it may
eventually hit mainline, it's better to debug the original issue rather
than applying a patch that _may_ fix an unrelated issue.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch')
-rw-r--r--pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch b/pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch
deleted file mode 100644
index 69b42c38..00000000
--- a/pkgs/kpatches/dragonfly/0003-ALSA-Revert-add-dB-range-mapping-for-Dragonfly.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From b81246424561904823492aa551e7b22b16157a94 Mon Sep 17 00:00:00 2001
-From: aszlig <aszlig@redmoonstudios.org>
-Date: Fri, 16 Oct 2015 18:31:41 +0200
-Subject: [PATCH 3/3] ALSA: Revert add dB range mapping for Dragonfly.
-
-This partially reverts commit 2d1cb7f658fb9c3ba8f9dab8aca297d4dfdec835.
-
-We now have a better patch coming from:
-
-http://mailman.alsa-project.org/pipermail/alsa-devel/2015-August/096516.html
-
-Signed-off-by: aszlig <aszlig@redmoonstudios.org>
----
- sound/usb/mixer_maps.c | 12 ------------
- 1 file changed, 12 deletions(-)
-
-diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
-index 6a803ef..ddca654 100644
---- a/sound/usb/mixer_maps.c
-+++ b/sound/usb/mixer_maps.c
-@@ -348,13 +348,6 @@ static struct usbmix_name_map bose_companion5_map[] = {
- 	{ 0 }	/* terminator */
- };
- 
--/* Dragonfly DAC 1.2, the dB conversion factor is 1 instead of 256 */
--static struct usbmix_dB_map dragonfly_1_2_dB = {0, 5000};
--static struct usbmix_name_map dragonfly_1_2_map[] = {
--	{ 7, NULL, .dB = &dragonfly_1_2_dB },
--	{ 0 }	/* terminator */
--};
--
- /*
-  * Control map entries
-  */
-@@ -470,11 +463,6 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
- 		.id = USB_ID(0x05a7, 0x1020),
- 		.map = bose_companion5_map,
- 	},
--	{
--		/* Dragonfly DAC 1.2 */
--		.id = USB_ID(0x21b4, 0x0081),
--		.map = dragonfly_1_2_map,
--	},
- 	{ 0 } /* terminator */
- };
- 
--- 
-2.5.3
-