Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178092
b: refs/heads/master
c: c0f8faf
h: refs/heads/master
v: v3
  • Loading branch information
Einar Rünkaru authored and Takashi Iwai committed Dec 17, 2009
1 parent 50b9c03 commit 3686de7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 254bba6a7e28c77d8b32d9eaeba02d4943ee844e
refs/heads/master: c0f8faf0c7cd497ec7c1d61e1e9424f4384c1f68
4 changes: 4 additions & 0 deletions trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include "hda_codec.h"
#include "hda_local.h"
#include "hda_beep.h"

#define CXT_PIN_DIR_IN 0x00
#define CXT_PIN_DIR_OUT 0x01
Expand Down Expand Up @@ -477,6 +478,7 @@ static void conexant_free(struct hda_codec *codec)
snd_array_free(&spec->jacks);
}
#endif
snd_hda_detach_beep_device(codec);
kfree(codec->spec);
}

Expand Down Expand Up @@ -2229,6 +2231,7 @@ static struct snd_kcontrol_new cxt5066_vostro_mixers[] = {
.put = cxt5066_mic_boost_mux_enum_put,
.private_value = 0x23 | 0x100,
},
HDA_CODEC_VOLUME_MONO("Beep Playback Volume", 0x13, 1, 0x0, HDA_OUTPUT),
{}
};

Expand Down Expand Up @@ -2528,6 +2531,7 @@ static int patch_cxt5066(struct hda_codec *codec)
spec->mixers[spec->num_mixers++] = cxt5066_vostro_mixers;
spec->port_d_mode = 0;
spec->dell_vostro = 1;
snd_hda_attach_beep_device(codec, 0x13);

/* no S/PDIF out */
spec->multiout.dig_out_nid = 0;
Expand Down

0 comments on commit 3686de7

Please sign in to comment.