提交 ac446fb7 编写于 作者: J Jaroslav Kysela

ALSA: snd-aloop - fix "PCM Slave Active" element read value

Simple coding fix.
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 20d9a26d
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册