|
@@ -7746,13 +7746,23 @@ static struct hda_input_mux alc262_HP_capture_source = {
|
|
.num_items = 5,
|
|
.num_items = 5,
|
|
.items = {
|
|
.items = {
|
|
{ "Mic", 0x0 },
|
|
{ "Mic", 0x0 },
|
|
- { "Front Mic", 0x3 },
|
|
|
|
|
|
+ { "Front Mic", 0x1 },
|
|
{ "Line", 0x2 },
|
|
{ "Line", 0x2 },
|
|
{ "CD", 0x4 },
|
|
{ "CD", 0x4 },
|
|
{ "AUX IN", 0x6 },
|
|
{ "AUX IN", 0x6 },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct hda_input_mux alc262_HP_D7000_capture_source = {
|
|
|
|
+ .num_items = 4,
|
|
|
|
+ .items = {
|
|
|
|
+ { "Mic", 0x0 },
|
|
|
|
+ { "Front Mic", 0x2 },
|
|
|
|
+ { "Line", 0x1 },
|
|
|
|
+ { "CD", 0x4 },
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
/* mute/unmute internal speaker according to the hp jack and mute state */
|
|
/* mute/unmute internal speaker according to the hp jack and mute state */
|
|
static void alc262_fujitsu_automute(struct hda_codec *codec, int force)
|
|
static void alc262_fujitsu_automute(struct hda_codec *codec, int force)
|
|
{
|
|
{
|
|
@@ -8357,7 +8367,7 @@ static struct alc_config_preset alc262_presets[] = {
|
|
.hp_nid = 0x03,
|
|
.hp_nid = 0x03,
|
|
.num_channel_mode = ARRAY_SIZE(alc262_modes),
|
|
.num_channel_mode = ARRAY_SIZE(alc262_modes),
|
|
.channel_mode = alc262_modes,
|
|
.channel_mode = alc262_modes,
|
|
- .input_mux = &alc262_HP_capture_source,
|
|
|
|
|
|
+ .input_mux = &alc262_HP_D7000_capture_source,
|
|
},
|
|
},
|
|
[ALC262_HP_BPC_D7000_WL] = {
|
|
[ALC262_HP_BPC_D7000_WL] = {
|
|
.mixers = { alc262_HP_BPC_WildWest_mixer,
|
|
.mixers = { alc262_HP_BPC_WildWest_mixer,
|
|
@@ -8368,7 +8378,7 @@ static struct alc_config_preset alc262_presets[] = {
|
|
.hp_nid = 0x03,
|
|
.hp_nid = 0x03,
|
|
.num_channel_mode = ARRAY_SIZE(alc262_modes),
|
|
.num_channel_mode = ARRAY_SIZE(alc262_modes),
|
|
.channel_mode = alc262_modes,
|
|
.channel_mode = alc262_modes,
|
|
- .input_mux = &alc262_HP_capture_source,
|
|
|
|
|
|
+ .input_mux = &alc262_HP_D7000_capture_source,
|
|
},
|
|
},
|
|
[ALC262_BENQ_ED8] = {
|
|
[ALC262_BENQ_ED8] = {
|
|
.mixers = { alc262_base_mixer },
|
|
.mixers = { alc262_base_mixer },
|