Commit ac446fb7 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA: snd-aloop - fix "PCM Slave Active" element read value

Simple coding fix.
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 20d9a26d
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment