Skip to content
Commit 945d069f authored by Liu Ying's avatar Liu Ying Committed by Anatolij Gustschin
Browse files

ipu common: reset ipuv3 correctly



This patch checks self-clear sw_ipu_rst bit in
SCR register of SRC controller to be cleared
after setting it to high to reset IPUv3. This
makes sure that IPUv3 finishes sofware reset.
A timeout mechanism is added to stop polling
on the bit status in case the bit could not be
cleared by the hardware automatically within
10 millisecond.

Signed-off-by: default avatarLiu Ying <Ying.Liu@freescale.com>
parent 1cc619be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment