]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Sep 2012 14:17:41 +0000 (16:17 +0200)
commit0be9adce3f2762d0aa5dc1855474614aae3b4096
treecee190022e1af2b321c16fda6e67efb9ba1417ed
parent410059b46acc1ed84b4718f100f5a641e7c7b6ff
ALSA: ice1724: Use linear scale for AK4396 volume control.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/prodigy_hifi.c