]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00178461-02 HDMI1080p: hotplug cause kernel panic. 10%
authorSandor Yu <R01008@freescale.com>
Tue, 29 May 2012 08:54:13 +0000 (16:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:44 +0000 (08:34 +0200)
commit9297594bb88bb616b5d18e5fe51b8551bf8efc48
treef87c0b3995e540f57474dc1512a258f8e00e0616
parent27c81fdb95ebe211118a4c9686dc0f0a0fab6560
ENGR00178461-02 HDMI1080p: hotplug cause kernel panic. 10%

It is a warning cause by  HDMI driver irq enable count mismatch.
The purpose of maintain HDMI irq count is to disable hdmi_iahb_clk
when HDMI cable plugout.
But hdmi_iahb_clk parent ahb clock is always enabled when system run,
so hdmi_iabh_clk power consumption is very low.
The function clk_get_usecount introduce by irq count maintain
is not safety in SMP.

Remove HDMI irq count in HDMI driver, keep hdmi_iahb_clk always run.
and disable hdmi_iahb_clk and hdmi_isfr_clk when FB Blank.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/mfd/mxc-hdmi-core.c
drivers/video/mxc_hdmi.c
sound/soc/imx/imx-hdmi-dma.c