summaryrefslogtreecommitdiffstats
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 3123a15..f2b8f86 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;
}
OpenPOWER on IntegriCloud