From: Jaroslav Kysela Date: Wed, 15 Sep 2010 06:01:57 +0000 (+0200) Subject: ALSA: snd-aloop - fix the "PCM Playback Channels" kcontrol X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1446c5fba73044a1c72153e1203b23b1820431c5;p=linux-beck.git ALSA: snd-aloop - fix the "PCM Playback Channels" kcontrol Obvious copy-and-paste error. Signed-off-by: Jaroslav Kysela --- diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 3123a15d23f6..f2b8f868d97a 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; }