mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ static int loopback_active_get(struct snd_kcontrol *kcontrol,
|
||||||
{
|
{
|
||||||
struct loopback *loopback = snd_kcontrol_chip(kcontrol);
|
struct loopback *loopback = snd_kcontrol_chip(kcontrol);
|
||||||
struct loopback_cable *cable = loopback->cables
|
struct loopback_cable *cable = loopback->cables
|
||||||
[kcontrol->id.subdevice][kcontrol->id.device];
|
[kcontrol->id.subdevice][kcontrol->id.device ^ 1];
|
||||||
unsigned int val = 0;
|
unsigned int val = 0;
|
||||||
|
|
||||||
if (cable != NULL)
|
if (cable != NULL)
|
||||||
|
|
Loading…
Reference in a new issue