summaryrefslogtreecommitdiff
path: root/include/linux/mfd/mxc-hdmi-core.h
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-09-13 21:28:11 +0800
committerJason Liu <r64343@freescale.com>2012-09-14 00:56:25 +0800
commiteaaf30efdc8dfeb03418bde1499a76c9903bd211 (patch)
tree87f261c7c15dd9ed1293e8532699789ea1ca54ba /include/linux/mfd/mxc-hdmi-core.h
parent9bba02d47489f2455bae09815b779bdc494efabb (diff)
ENGR00224245 HDMI AUDIO: stop/start PCM while unplug,blank/plug, unblankrel_imx_3.0.35_12.09.013.0-imx6-12.09.01-201209132128
When unplug, blank happens, HDMI audio can't play properly. So in driver, audio pcm would be disconnected when event above happens. However, pulse audio can't process disconnect event properly and if an blank or unplug event happens, HDMI sink would lost and can't be back again. In this patch, instead of disconnecting audio PCM stream, triggering stop audio pcm while unplug and blank, triggering start again while plug and unblank if the audio pcm is triggerd stop in the unplug/blank event. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include/linux/mfd/mxc-hdmi-core.h')
-rw-r--r--include/linux/mfd/mxc-hdmi-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/mxc-hdmi-core.h b/include/linux/mfd/mxc-hdmi-core.h
index f16b11cb5cf4..26fa47d09abf 100644
--- a/include/linux/mfd/mxc-hdmi-core.h
+++ b/include/linux/mfd/mxc-hdmi-core.h
@@ -60,5 +60,6 @@ int mxc_hdmi_register_audio(struct snd_pcm_substream *substream);
void mxc_hdmi_unregister_audio(struct snd_pcm_substream *substream);
unsigned int hdmi_set_cable_state(unsigned int state);
unsigned int hdmi_set_blank_state(unsigned int state);
+int check_hdmi_state(void);
#endif