ALSA: hda: Manage concurrent reg access more properly
[linux-2.6-microblaze.git] / sound / pci / hda / hda_generic.c
index fc001c6..6815f9d 100644 (file)
@@ -6027,7 +6027,7 @@ int snd_hda_gen_init(struct hda_codec *codec)
        /* call init functions of standard auto-mute helpers */
        update_automute_all(codec);
 
-       regcache_sync(codec->core.regmap);
+       snd_hda_regmap_sync(codec);
 
        if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook)
                snd_hda_sync_vmaster_hook(&spec->vmaster_mute);