Skip to content

Commit

Permalink
ALSA: hda - Assume PC-beep as default for Realtek
Browse files Browse the repository at this point in the history
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: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jul 28, 2010
1 parent 8af2591 commit b6cbe51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1267,11 +1267,11 @@ static int alc_auto_parse_customize_define(struct hda_codec *codec)
unsigned nid = 0;
struct alc_spec *spec = codec->spec;

spec->cdefine.enable_pcbeep = 1; /* assume always enabled */

ass = codec->subsystem_id & 0xffff;
if (ass != codec->bus->pci->subsystem_device && (ass & 1)) {
spec->cdefine.enable_pcbeep = 1; /* assume always enabled */
if (ass != codec->bus->pci->subsystem_device && (ass & 1))
goto do_sku;
}

nid = 0x1d;
if (codec->vendor_id == 0x10ec0260)
Expand Down

0 comments on commit b6cbe51

Please sign in to comment.