diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-06-27 12:43:09 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-27 12:43:09 +0300 |
commit | 401caff70cd3d3ef3c96e1a1cbf6f973c24ba899 (patch) | |
tree | 83e3d22afb2665e06be6c7c4fc09173d51b89280 /sound/pci/hda/patch_conexant.c | |
parent | 772c2917ff4e3b15c38f74e77062360e5ffd1308 (diff) | |
download | linux-401caff70cd3d3ef3c96e1a1cbf6f973c24ba899.tar.xz |
ALSA: hda - Kill snd_hda_codec_update_cache()
snd_hda_codec_update_cache() used to serve for a slightly different
purpose from snd_hdac_write_cache(), but now both of them became
identical.
Let's unify and replace with the latter one consistently.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 75ba66eb4ccd..8b48352689b4 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -341,7 +341,7 @@ static void cxt_fixup_headset_mic(struct hda_codec *codec, * control. */ #define update_mic_pin(codec, nid, val) \ - snd_hda_codec_update_cache(codec, nid, 0, \ + snd_hda_codec_write_cache(codec, nid, 0, \ AC_VERB_SET_PIN_WIDGET_CONTROL, val) static const struct hda_input_mux olpc_xo_dc_bias = { |