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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:29:52 +0000 (10:29 -0700)
commit23b5a5da4f07b887adce9b42daa7aa14a72a5427
treeab71e62372d5c69bb7955185e2007a0363dcb322
parent6172ace501d10b1c629c5e82af26d0b87773c1ef
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/ice1712/prodigy_hifi.c