aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 5dd3e89f620a..d6fa401791c5 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -127,6 +127,7 @@ enum {
127}; 127};
128 128
129enum { 129enum {
130 STAC_D965_REF_NO_JD, /* no jack-detection */
130 STAC_D965_REF, 131 STAC_D965_REF,
131 STAC_D965_3ST, 132 STAC_D965_3ST,
132 STAC_D965_5ST, 133 STAC_D965_5ST,
@@ -2027,6 +2028,7 @@ static unsigned int dell_3st_pin_configs[14] = {
2027}; 2028};
2028 2029
2029static unsigned int *stac927x_brd_tbl[STAC_927X_MODELS] = { 2030static unsigned int *stac927x_brd_tbl[STAC_927X_MODELS] = {
2031 [STAC_D965_REF_NO_JD] = ref927x_pin_configs,
2030 [STAC_D965_REF] = ref927x_pin_configs, 2032 [STAC_D965_REF] = ref927x_pin_configs,
2031 [STAC_D965_3ST] = d965_3st_pin_configs, 2033 [STAC_D965_3ST] = d965_3st_pin_configs,
2032 [STAC_D965_5ST] = d965_5st_pin_configs, 2034 [STAC_D965_5ST] = d965_5st_pin_configs,
@@ -2035,6 +2037,7 @@ static unsigned int *stac927x_brd_tbl[STAC_927X_MODELS] = {
2035}; 2037};
2036 2038
2037static const char *stac927x_models[STAC_927X_MODELS] = { 2039static const char *stac927x_models[STAC_927X_MODELS] = {
2040 [STAC_D965_REF_NO_JD] = "ref-no-jd",
2038 [STAC_D965_REF] = "ref", 2041 [STAC_D965_REF] = "ref",
2039 [STAC_D965_3ST] = "3stack", 2042 [STAC_D965_3ST] = "3stack",
2040 [STAC_D965_5ST] = "5stack", 2043 [STAC_D965_5ST] = "5stack",
@@ -4899,6 +4902,10 @@ static int patch_stac927x(struct hda_codec *codec)
4899 */ 4902 */
4900 codec->bus->needs_damn_long_delay = 1; 4903 codec->bus->needs_damn_long_delay = 1;
4901 4904
4905 /* no jack detecion for ref-no-jd model */
4906 if (spec->board_config == STAC_D965_REF_NO_JD)
4907 spec->hp_detect = 0;
4908
4902 return 0; 4909 return 0;
4903} 4910}
4904 4911