summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-10-31 14:39:49 +0100
committerTakashi Iwai <tiwai@suse.de>2008-10-31 14:39:49 +0100
commit04172c0b9ea5861e5cba7909da5297b3aedac9e1 (patch)
tree5a993adb827ae676166ad11f7510ff57ebda46b8 /sound/soc/soc-core.c
parent5b99e6ccf964e733f0afe2b7bd09559a51a540ca (diff)
parent13d622b33dfbd99205a7add5751ba47445e480a6 (diff)
downloadop-kernel-dev-04172c0b9ea5861e5cba7909da5297b3aedac9e1.zip
op-kernel-dev-04172c0b9ea5861e5cba7909da5297b3aedac9e1.tar.gz
Merge branch 'topic/fix/asoc' into topic/asoc
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 8f384df..1a17368 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1555,7 +1555,7 @@ int snd_soc_info_volsw(struct snd_kcontrol *kcontrol,
struct soc_mixer_control *mc =
(struct soc_mixer_control *)kcontrol->private_value;
int max = mc->max;
- unsigned int shift = mc->min;
+ unsigned int shift = mc->shift;
unsigned int rshift = mc->rshift;
if (max == 1)
OpenPOWER on IntegriCloud