]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: ice1724: Use linear scale for AK4396 volume control.
authorMatteo Frigo <athena@fftw.org>
Wed, 12 Sep 2012 14:12:06 +0000 (10:12 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:05:21 +0000 (15:05 +0100)
commit35d0642e293587214472cccbb60dd3f8411f0750
treea723365a3a838de7c7ab989d0710022a904a0d82
parent0c0f4d2c4e01687b3edacb34ec73d45c4eccbfd5
ALSA: ice1724: Use linear scale for AK4396 volume control.

commit 3737e2be505d872bf2b3c1cd4151b2d2b413d7b5 upstream.

The AK4396 DAC has a linear-scale attentuator, but
sound/pci/ice1712/prodigy_hifi.c used a log scale instead, which is
not quite right.  This patch restores the correct scale, borrowing
from the ak4396 code in sound/pci/oxygen/oxygen.c.

Signed-off-by: Matteo Frigo <athena@fftw.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/ice1712/prodigy_hifi.c