Skip to content

Commit

Permalink
ALSA: snd-aloop - fix the "PCM Playback Channels" kcontrol
Browse files Browse the repository at this point in the history
Obvious copy-and-paste error.

Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
perexg committed Sep 15, 2010
1 parent d7d28bc commit 1446c5f
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 @@ -809,7 +809,7 @@ static int loopback_channels_get(struct snd_kcontrol *kcontrol,

ucontrol->value.integer.value[0] =
loopback->setup[kcontrol->id.subdevice]
[kcontrol->id.device].rate;
[kcontrol->id.device].channels;
return 0;
}

Expand Down

0 comments on commit 1446c5f

Please sign in to comment.