]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
video: ipu: initialize g_ipu_clk, g_ldb_clk statically KARO-TX6UL-2015-10-23
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 23 Oct 2015 10:46:03 +0000 (12:46 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 23 Oct 2015 10:46:03 +0000 (12:46 +0200)
When the FB driver has not been initialized, booting Linux will hang
the system when ipuv3_fb_shutdown() is called from arch_preboot_os()
because clk_enable(g_ipu_clk) is a NOP with g_ipu_clk == NULL.
There is no need to initialize these variables at runtime, so use
static initialization to prevent this problem.


No differences found