|
@@ -4414,7 +4414,9 @@ static int add_control(struct alc_spec *spec, int type, const char *name,
|
|
|
if (!knew->name)
|
|
|
return -ENOMEM;
|
|
|
if (get_amp_nid_(val))
|
|
|
- knew->subdevice = HDA_SUBDEV_NID_FLAG | get_amp_nid_(val);
|
|
|
+ knew->subdevice = HDA_SUBDEV_NID_FLAG |
|
|
|
+ HDA_SUBDEV_AMP_FLAG |
|
|
|
+ get_amp_nid_(val);
|
|
|
knew->private_value = val;
|
|
|
return 0;
|
|
|
}
|
|
@@ -10919,7 +10921,7 @@ static struct snd_kcontrol_new alc262_fujitsu_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc262_fujitsu_master_sw_put,
|
|
@@ -10960,7 +10962,7 @@ static struct snd_kcontrol_new alc262_lenovo_3000_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x1b,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x1b,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc262_lenovo_3000_master_sw_put,
|
|
@@ -12137,7 +12139,7 @@ static struct snd_kcontrol_new alc268_acer_aspire_one_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc268_acer_master_sw_put,
|
|
@@ -12153,7 +12155,7 @@ static struct snd_kcontrol_new alc268_acer_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc268_acer_master_sw_put,
|
|
@@ -12171,7 +12173,7 @@ static struct snd_kcontrol_new alc268_acer_dmic_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc268_acer_master_sw_put,
|
|
@@ -13124,7 +13126,7 @@ static struct snd_kcontrol_new alc269_quanta_fl1_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc268_acer_master_sw_put,
|
|
@@ -13145,7 +13147,7 @@ static struct snd_kcontrol_new alc269_lifebook_mixer[] = {
|
|
|
{
|
|
|
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
|
|
.name = "Master Playback Switch",
|
|
|
- .subdevice = HDA_SUBDEV_NID_FLAG | 0x14,
|
|
|
+ .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x14,
|
|
|
.info = snd_hda_mixer_amp_switch_info,
|
|
|
.get = snd_hda_mixer_amp_switch_get,
|
|
|
.put = alc268_acer_master_sw_put,
|