send email to the author or file an upstream bug report if you think it is regression of this patch,
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=0d8cb303a984afe4a7f0b68e47fe1958e1fd75e0
static const struct hda_bind_ctls alc260_dc7600_bind_master_vol = { - .ops = &snd_hda_bind_vol, - .values = { - HDA_COMPOSE_AMP_VAL(0x08, 3, 0, HDA_OUTPUT), - HDA_COMPOSE_AMP_VAL(0x09, 3, 0, HDA_OUTPUT), - HDA_COMPOSE_AMP_VAL(0x0a, 3, 0, HDA_OUTPUT), - 0 - }, -}; - -static const struct hda_bind_ctls alc260_dc7600_bind_switch = { - .ops = &snd_hda_bind_sw, - .values = { - HDA_COMPOSE_AMP_VAL(0x11, 3, 0, HDA_OUTPUT), - HDA_COMPOSE_AMP_VAL(0x15, 3, 0, HDA_OUTPUT), - 0 - }, -};
-static const struct hda_bind_ctls alc260_dc7600_bind_switch = { - .ops = &snd_hda_bind_sw, - .values = { - HDA_COMPOSE_AMP_VAL(0x11, 3, 0, HDA_OUTPUT), - HDA_COMPOSE_AMP_VAL(0x15, 3, 0, HDA_OUTPUT), - 0 - }, -}; - -static const struct snd_kcontrol_new alc260_hp_dc7600_mixer[] = { - HDA_BIND_VOL("Master Playback Volume", &alc260_dc7600_bind_master_vol), - HDA_BIND_SW("LineOut Playback Switch", &alc260_dc7600_bind_switch), - HDA_CODEC_MUTE("Speaker Playback Switch", 0x0f, 0x0, HDA_OUTPUT), - HDA_CODEC_MUTE("Headphone Playback Switch", 0x10, 0x0, HDA_OUTPUT), - { } /* end */ -};
- [ALC260_HP_DC7600] = { - .mixers = { alc260_hp_dc7600_mixer, - alc260_input_mixer }, - .init_verbs = { alc260_init_verbs, - alc260_hp_dc7600_verbs }, - .num_dacs = ARRAY_SIZE(alc260_dac_nids), - .dac_nids = alc260_dac_nids, - .num_adc_nids = ARRAY_SIZE(alc260_adc_nids_alt), - .adc_nids = alc260_adc_nids_alt, - .num_channel_mode = ARRAY_SIZE(alc260_modes), - .channel_mode = alc260_modes, - .input_mux = &alc260_capture_source, - .unsol_event = alc_sku_unsol_event, - .setup = alc260_hp_3012_setup, - .init_hook = alc_inithook, - },
send email to the author or file an upstream bug report if you think it is regression of this patch,
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ commit/ ?id=0d8cb303a98 4afe4a7f0b68e47 fe1958e1fd75e0
static const struct hda_bind_ctls alc260_ dc7600_ bind_master_ vol = { AMP_VAL( 0x08, 3, 0, HDA_OUTPUT), AMP_VAL( 0x09, 3, 0, HDA_OUTPUT), AMP_VAL( 0x0a, 3, 0, HDA_OUTPUT), dc7600_ bind_switch = { AMP_VAL( 0x11, 3, 0, HDA_OUTPUT), AMP_VAL( 0x15, 3, 0, HDA_OUTPUT),
- .ops = &snd_hda_bind_vol,
- .values = {
- HDA_COMPOSE_
- HDA_COMPOSE_
- HDA_COMPOSE_
- 0
- },
-};
-
-static const struct hda_bind_ctls alc260_
- .ops = &snd_hda_bind_sw,
- .values = {
- HDA_COMPOSE_
- HDA_COMPOSE_
- 0
- },
-};
-static const struct hda_bind_ctls alc260_ dc7600_ bind_switch = { AMP_VAL( 0x11, 3, 0, HDA_OUTPUT), AMP_VAL( 0x15, 3, 0, HDA_OUTPUT), hp_dc7600_ mixer[] = { VOL("Master Playback Volume", &alc260_ dc7600_ bind_master_ vol), SW("LineOut Playback Switch", &alc260_ dc7600_ bind_switch) , MUTE("Speaker Playback Switch", 0x0f, 0x0, HDA_OUTPUT), MUTE("Headphone Playback Switch", 0x10, 0x0, HDA_OUTPUT),
- .ops = &snd_hda_bind_sw,
- .values = {
- HDA_COMPOSE_
- HDA_COMPOSE_
- 0
- },
-};
-
-static const struct snd_kcontrol_new alc260_
- HDA_BIND_
- HDA_BIND_
- HDA_CODEC_
- HDA_CODEC_
- { } /* end */
-};
- [ALC260_HP_DC7600] = { hp_dc7600_ mixer, hp_dc7600_ verbs }, alc260_ dac_nids) , alc260_ adc_nids_ alt), adc_nids_ alt, alc260_ modes), capture_ source, unsol_event, hp_3012_ setup,
- .mixers = { alc260_
- alc260_input_mixer },
- .init_verbs = { alc260_init_verbs,
- alc260_
- .num_dacs = ARRAY_SIZE(
- .dac_nids = alc260_dac_nids,
- .num_adc_nids = ARRAY_SIZE(
- .adc_nids = alc260_
- .num_channel_mode = ARRAY_SIZE(
- .channel_mode = alc260_modes,
- .input_mux = &alc260_
- .unsol_event = alc_sku_
- .setup = alc260_
- .init_hook = alc_inithook,
- },