projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d9a26
)
ALSA: snd-aloop - fix "PCM Slave Active" element read value
author
Jaroslav Kysela
<perex@perex.cz>
Sat, 2 Oct 2010 14:00:53 +0000
(16:00 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Sat, 2 Oct 2010 14:07:03 +0000
(16:07 +0200)
Simple coding fix.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/drivers/aloop.c
patch
|
blob
|
history
diff --git
a/sound/drivers/aloop.c
b/sound/drivers/aloop.c
index
2748fee
..
040030a
100644
(file)
--- 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)