kernel panic with latest DSS
diff mbox

Message ID 3647DBDA80551C4696E9E4506F0BE08E255DC2F2A7@NOK-EUMSG-02.mgdnok.nokia.com
State New, archived
Delegated to: Tomi Valkeinen
Headers show

Commit Message

Tomi Valkeinen March 10, 2010, 6:58 p.m. UTC
None

Patch
diff mbox

diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index e777e35..be9b3de 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -2218,7 +2218,7 @@  unsigned long dispc_fclk_rate(void)
 {
        unsigned long r = 0;

-       if (dss_get_dispc_clk_source() == DSS_SRC_DSS1_ALWON_FCLK)
+       if (dss_get_dispc_clk_source() == 0)
                r = dss_clk_get_rate(DSS_CLK_FCK1);
        else
 #ifdef CONFIG_OMAP2_DSS_DSI