summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-09-15 08:01:57 +0200
committerJaroslav Kysela <perex@perex.cz>2010-09-15 08:05:03 +0200
commit1446c5fba73044a1c72153e1203b23b1820431c5 (patch)
tree4c744b64ede729165157a3b8c2adf120b24ca33d /sound/drivers
parentd7d28bc29f4ea7c2d23ed002a9973c64a92bcdb8 (diff)
downloadlinux-3.10-1446c5fba73044a1c72153e1203b23b1820431c5.tar.gz
linux-3.10-1446c5fba73044a1c72153e1203b23b1820431c5.tar.bz2
linux-3.10-1446c5fba73044a1c72153e1203b23b1820431c5.zip
ALSA: snd-aloop - fix the "PCM Playback Channels" kcontrol
Obvious copy-and-paste error. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/aloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 3123a15d23f..f2b8f868d97 100644
--- a/sound/drivers/aloop.c
+++ b/sound/drivers/aloop.c
@@ -809,7 +809,7 @@ static int loopback_channels_get(struct snd_kcontrol *kcontrol,
ucontrol->value.integer.value[0] =
loopback->setup[kcontrol->id.subdevice]
- [kcontrol->id.device].rate;
+ [kcontrol->id.device].channels;
return 0;
}