projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/sound/drivers/aloop.c
b/sound/drivers/aloop.c
index 2748fee8d405f8eb8cc04256bb5a10c48048c3e1..040030aa9d8ea418e1ea245f7153f5ce3732c720 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)