diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-10-02 16:00:53 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-10-02 16:07:03 +0200 |
commit | ac446fb7e690b317050ed158ba5dfd9273dc9e74 (patch) | |
tree | 64741e9f7ed0766435f85c2dad73e32053d4d2f9 /sound | |
parent | 20d9a26dbbbec32aa7c9da49b979f201bd7104b9 (diff) | |
download | linux-ac446fb7e690b317050ed158ba5dfd9273dc9e74.tar.bz2 |
ALSA: snd-aloop - fix "PCM Slave Active" element read value
Simple coding fix.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/drivers/aloop.c | 2 |
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, { struct loopback *loopback = snd_kcontrol_chip(kcontrol); struct loopback_cable *cable = loopback->cables - [kcontrol->id.subdevice][kcontrol->id.device]; + [kcontrol->id.subdevice][kcontrol->id.device ^ 1]; unsigned int val = 0; if (cable != NULL) |