mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08: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
@ -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
Block a user