From 230fe24702ff0e3223052431508a1a994973a576 Mon Sep 17 00:00:00 2001 From: Matteo Frigo Date: Wed, 12 Sep 2012 10:12:06 -0400 Subject: [PATCH] --- yaml --- r: 322667 b: refs/heads/master c: 3737e2be505d872bf2b3c1cd4151b2d2b413d7b5 h: refs/heads/master i: 322665: c2b905d0a58677c31c4d50686c2dbdd95e5084a5 322663: b91e1004cae661755450daab5c8151150fc9e3e8 v: v3 --- [refs] | 2 +- trunk/sound/pci/ice1712/prodigy_hifi.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ce9eaa5e5b3d..f8be2e07cac2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c302d6133c094bda7a7ce94eac5b50c018a7ca7b +refs/heads/master: 3737e2be505d872bf2b3c1cd4151b2d2b413d7b5 diff --git a/trunk/sound/pci/ice1712/prodigy_hifi.c b/trunk/sound/pci/ice1712/prodigy_hifi.c index 764cc93dbca4..075d5aa1fee0 100644 --- a/trunk/sound/pci/ice1712/prodigy_hifi.c +++ b/trunk/sound/pci/ice1712/prodigy_hifi.c @@ -297,6 +297,7 @@ static int ak4396_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem } static const DECLARE_TLV_DB_SCALE(db_scale_wm_dac, -12700, 100, 1); +static const DECLARE_TLV_DB_LINEAR(ak4396_db_scale, TLV_DB_GAIN_MUTE, 0); static struct snd_kcontrol_new prodigy_hd2_controls[] __devinitdata = { { @@ -307,7 +308,7 @@ static struct snd_kcontrol_new prodigy_hd2_controls[] __devinitdata = { .info = ak4396_dac_vol_info, .get = ak4396_dac_vol_get, .put = ak4396_dac_vol_put, - .tlv = { .p = db_scale_wm_dac }, + .tlv = { .p = ak4396_db_scale }, }, };