]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
drivers: media: camera: Error recovery
authorBhanu Murthy V <bmurthyv@nvidia.com>
Mon, 2 May 2016 19:21:47 +0000 (12:21 -0700)
committerWenjia Zhou <wenjiaz@nvidia.com>
Wed, 27 Jul 2016 22:25:12 +0000 (15:25 -0700)
commit976b0f208ec700b3024c3cef30bd287e1a2f4aa9
tree5bd0fb57c7f89119a2ca6c4f3479c1885bb6dd9d
parentb8aaae29aadf0dfa5203a2998c6192b1faefb833
drivers: media: camera: Error recovery

Add recovery routine for sync point timeout
error. Add flush routine of pixel parser FIFO,
single shot reset, and CSI reset.
Handle sync point FIFO overflow condition with
proper clean up and eliminate the possibility
of VI blocking host interface.
Mark error buffers based on VI/CSI error status
and clear errors every frame.

Bug 200092604
Bug 1736471

Change-Id: Ie18150dc81f408d1148ca8622ee43ddb48566865
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1153953
(cherry picked from commit ca5dd7d529a10b08edbffb882b3f7a0eaf7ad63c)
Reviewed-on: http://git-master/r/1168033
drivers/media/platform/tegra/camera/channel.c
drivers/media/platform/tegra/camera/mc_common.c
drivers/media/platform/tegra/camera/mc_common.h
drivers/media/platform/tegra/camera/registers.h
drivers/media/platform/tegra/csi/csi.c
drivers/media/platform/tegra/csi/csi.h