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/drivers | |
parent | 20d9a26dbbbec32aa7c9da49b979f201bd7104b9 (diff) | |
download | op-kernel-dev-ac446fb7e690b317050ed158ba5dfd9273dc9e74.zip op-kernel-dev-ac446fb7e690b317050ed158ba5dfd9273dc9e74.tar.gz |
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/drivers')
-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 2748fee..040030a 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) |