]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00290337 ipuv3: Setup pixel clock tree after ipu reset
authorSandor Yu <R01008@freescale.com>
Mon, 2 Dec 2013 07:40:46 +0000 (15:40 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:08:59 +0000 (18:08 +0200)
commit764f2c73aaf363dc04743da980807b3f8572fba1
treeee3d92cc667f932c47e60b0f2112b91d6a01a68b
parent8dd060c8c3bd01495604b3c3895d5d2aa034d632
ENGR00290337 ipuv3: Setup pixel clock tree after ipu reset

When the ipu pixel clocks are initialized, the default pixel clock rate
will be calucated according to the present ipu register setting which
is likely set by a bootloader.
But these registers will be reset by the ipu reset function.
If the default pixel clock rate is the same to what is requested later,
the clk_set_rate function will treat this case as pixel clock unchanged.

Move the pixel clock setup function after the ipu reset function to
resolve this issue

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/mxc/ipu3/ipu_common.c