aboutsummaryrefslogtreecommitdiffstats
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 2748fee8d405..040030aa9d8e 100644
--- a/sound/drivers/aloop.c
+++ b/sound/drivers/aloop.c
@@ -739,7 +739,7 @@ static int loopback_active_get(struct snd_kcontrol *kcontrol,
739{ 739{
740 struct loopback *loopback = snd_kcontrol_chip(kcontrol); 740 struct loopback *loopback = snd_kcontrol_chip(kcontrol);
741 struct loopback_cable *cable = loopback->cables 741 struct loopback_cable *cable = loopback->cables
742 [kcontrol->id.subdevice][kcontrol->id.device]; 742 [kcontrol->id.subdevice][kcontrol->id.device ^ 1];
743 unsigned int val = 0; 743 unsigned int val = 0;
744 744
745 if (cable != NULL) 745 if (cable != NULL)