[alsa-devel] [PATCH] use convenient treble scale on WM8750

Stanislav Brabec utx at penguin.cz
Sun Nov 11 23:52:08 CET 2007


On Zaurus SL-C3200 (terrier/spitz) based on WM8750, treble scale is
inconveniently reverted (increase level = decrease treble), in opposite
to bass scale, which uses convenient scale.

Fix ALSA WM8750 mixer treble to use convenient treble scale (increase =
increase treble level):

--- linux-2.6.23/sound/soc/codecs/wm8750.c	2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/sound/soc/codecs/wm8750.c	2007-11-02 16:47:35.000000000 +0100
@@ -189,7 +189,7 @@
 SOC_ENUM("Bass Filter", wm8750_enum[1]),
 SOC_SINGLE("Bass Volume", WM8750_BASS, 0, 15, 1),
 
-SOC_SINGLE("Treble Volume", WM8750_TREBLE, 0, 15, 0),
+SOC_SINGLE("Treble Volume", WM8750_TREBLE, 0, 15, 1),
 SOC_ENUM("Treble Cut-off", wm8750_enum[2]),
 
 SOC_SINGLE("3D Switch", WM8750_3D, 0, 1, 0),


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx



More information about the Alsa-devel mailing list