diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-02 02:04:35 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-02 02:04:35 -0500 |
commit | 892981ffbe9a5c4cbc9d75f423b145f32c765f9c (patch) | |
tree | ad3813d6505f087ef7d07be0bb48ed68601206f1 | |
parent | b31b43e9fb49b71ae753bebc185fe55797ba20c6 (diff) |
ALSA: hda - Don't create a beep control for digital-only ALC268
When an ALC268 codec is set up as the digital-only (as found in Toshiba
laptops), it shouldn't contain any beep control that conflict with the
primary codec.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 1cc31ac03522..c60c86acd9ba 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -11915,7 +11915,7 @@ static int alc268_parse_auto_config(struct hda_codec *codec) | |||
11915 | if (spec->kctls.list) | 11915 | if (spec->kctls.list) |
11916 | add_mixer(spec, spec->kctls.list); | 11916 | add_mixer(spec, spec->kctls.list); |
11917 | 11917 | ||
11918 | if (spec->autocfg.speaker_pins[0] != 0x1d) | 11918 | if (!spec->no_analog && spec->autocfg.speaker_pins[0] != 0x1d) |
11919 | add_mixer(spec, alc268_beep_mixer); | 11919 | add_mixer(spec, alc268_beep_mixer); |
11920 | 11920 | ||
11921 | add_verb(spec, alc268_volume_init_verbs); | 11921 | add_verb(spec, alc268_volume_init_verbs); |