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:
Jaroslav Kysela 2010-10-02 16:00:53 +02:00
parent 20d9a26dbb
commit ac446fb7e6
1 changed files with 1 additions and 1 deletions

View File

@ -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)