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

Commit b6cbe517 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Assume PC-beep as default for Realtek



Enable PC-beep as default for hardwares that aren't compliant with the
SSID value Realtek requires.  In such a case, better to enable the beep
to avoid a regression.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8af2591d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1267,11 +1267,11 @@ static int alc_auto_parse_customize_define(struct hda_codec *codec)
	unsigned nid = 0;
	struct alc_spec *spec = codec->spec;
	ass = codec->subsystem_id & 0xffff;
	if (ass != codec->bus->pci->subsystem_device && (ass & 1)) {
	spec->cdefine.enable_pcbeep = 1; /* assume always enabled */
	ass = codec->subsystem_id & 0xffff;
	if (ass != codec->bus->pci->subsystem_device && (ass & 1))
		goto do_sku;
	}
	nid = 0x1d;
	if (codec->vendor_id == 0x10ec0260)