Skip to content

Commit

Permalink
ALSA: snd-aloop - fix "PCM Slave Active" element read value
Browse files Browse the repository at this point in the history
Simple coding fix.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Jaroslav Kysela committed Oct 2, 2010
1 parent 20d9a26 commit ac446fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/drivers/aloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac446fb

Please sign in to comment.