ALSA: snd-aloop - fix "PCM Slave Active" element read value
Simple coding fix. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
20d9a26dbb
commit
ac446fb7e6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue