OSDN Git Service

msm: camera: isp: Avoid reading stale ping pong status
authorLokesh Kumar Aakulu <lkumar@codeaurora.org>
Tue, 20 Jun 2017 19:14:43 +0000 (00:44 +0530)
committerLokesh Kumar Aakulu <lkumar@codeaurora.org>
Thu, 29 Jun 2017 13:57:27 +0000 (19:27 +0530)
commit40cfe338ba3042177e92e6897529aa91f8fe23d8
tree572b061b79f8a20ce4756bc4897f2a26d9b148f5
parentbfbbb3e4b2118005181b01832adec1c1fb1c7cbf
msm: camera: isp: Avoid reading stale ping pong status

When write masters are reloaded pingpong status regi-
-ster will not be reset. Instead, it would be holding
a stale data, until new axi_done irq is interrupted.
So, place a check to validate the pingpong register
value based on the reloaded status of write masters.

Change-Id: Id14b886154f8a8ef8d5c05338023d8172d6925d0
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
drivers/media/platform/msm/camera_v2/isp/msm_isp.h
drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c