diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-04-01 16:52:27 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-04-03 15:22:21 +0800 |
commit | e71d3d328a886113c7edbd52573ea20a79ac613f (patch) | |
tree | d0117b714069d5443e9b9ddff37e0c63b10bdf03 /arch/arm | |
parent | 31e5761b2e4094385627ea37c27a550b27310e30 (diff) |
ENGR00256918 IPUv3 common:Correct CSI_PRP_MEM disable routine
For both CSI_MEMx and CSI_PRP_VF(ENC)_MEM capture channels,
we disable them with the following sequence:
1) Wait for an idmac channel eof interrupt.
2) Disable CSI by clearing CSIx_EN in IPU_CONF register.
3) Disable idmac channel by clearing relevant bit in
IPU_IDMAC_CH_EN_1 register and other settings.
However, currently, we don't do 3) until CSI_PRP_VF(ENC)_MEM's
idmac channel being not busy by a while loop check. In case, an
external sensor is plugged out from the system or the sensor is
somehow broken, we will be unable to get out of that infinite
while loop. Since this check is unnecessary(we've already
waited for an idmac eof interrupt), this patch simply removes
it from the disable routine of CSI_PRP_VF(ENC)_MEM channel.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 8136a50bd049d68f92604397f256e6067ef2b572)
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions