Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24b55c69 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix wrong SPDIF NID assignment for CA0110



The dig_out_nid field must take a digital-converter widget, but the current
ca0110 parser passed the pin wrongly instead.

Reported-by: default avatarWai Yew CHAY <wychay@ctl.creative.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 693194f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -489,7 +489,7 @@ static void parse_digital(struct hda_codec *codec)
	if (cfg->dig_outs &&
	    snd_hda_get_connections(codec, cfg->dig_out_pins[0],
				    &spec->dig_out, 1) == 1)
		spec->multiout.dig_out_nid = cfg->dig_out_pins[0];
		spec->multiout.dig_out_nid = spec->dig_out;
}

static int ca0110_parse_auto_config(struct hda_codec *codec)