ALSA: hda - hdmi add wmb barrier for audio component
authorLibin Yang <[email protected]>
Fri, 4 Mar 2016 06:33:06 +0000 (14:33 +0800)
committerTakashi Iwai <[email protected]>
Fri, 4 Mar 2016 07:37:59 +0000 (08:37 +0100)
commitec75a940b1037e877efd9a5a9e94eab1e464f73b
tree10e876cc4992497a328580ab7446579e1ee01c21
parent02322ac9dee9aff8d8862e8d6660ebe102f492ea
ALSA: hda - hdmi add wmb barrier for audio component

To make sure audio_ptr is set before intel_audio_codec_enable()
or intel_audio_codec_disable() calling pin_eld_notify(),
this patch adds wmb barrier to prevent optimizing.

Signed-off-by: Libin Yang <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/patch_hdmi.c