diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index f795ee588cc7..e8e6a43865c2 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -3742,7 +3742,7 @@ static int ad1884a_mobile_master_sw_put(struct snd_kcontrol *kcontrol, | |||
3742 | int mute = (!ucontrol->value.integer.value[0] && | 3742 | int mute = (!ucontrol->value.integer.value[0] && |
3743 | !ucontrol->value.integer.value[1]); | 3743 | !ucontrol->value.integer.value[1]); |
3744 | /* toggle GPIO1 according to the mute state */ | 3744 | /* toggle GPIO1 according to the mute state */ |
3745 | snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, | 3745 | snd_hda_codec_write_cache(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, |
3746 | mute ? 0x02 : 0x0); | 3746 | mute ? 0x02 : 0x0); |
3747 | return ret; | 3747 | return ret; |
3748 | } | 3748 | } |