aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;
}