]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
drivers: media: camera: Add sync op support
authorBhanu Murthy V <bmurthyv@nvidia.com>
Fri, 10 Jun 2016 23:17:52 +0000 (16:17 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 14 Jun 2017 11:31:19 +0000 (04:31 -0700)
commit97ff3a5ff8cb3beec9f9c0f723a87287b0853290
tree4e39749b603bd96a76e5f77bf5a1ad86dbebcf32
parentd479ef0c6022fac7161a8ed0b39a6bb4d1741219
drivers: media: camera: Add sync op support

Add sync file op support in VI driver.
Sub devices will be synchronized when the MFI interrupt
arrives to VI driver. At present this interrupt is
configured when the ROI of focus area ends during the
current frame capture.

Fix vi2 and vi4 differences using fops in addition to
the original commit.
Cleanup MFI code in the active isr flow.

Bug 1754305

Change-Id: I7e96d413e79dbab17c7c4349cef9ef6b78ab983d
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1162764
(cherry picked from commit 8c7c212927f1b1703fe0bf95086605fef48ff89d)
Reviewed-on: http://git-master/r/1327223
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/media/platform/tegra/camera/vi/channel.c
drivers/media/platform/tegra/camera/vi/mc_common.c
drivers/media/platform/tegra/camera/vi/mc_common.h
drivers/media/platform/tegra/camera/vi/vi2_fops.c
drivers/media/platform/tegra/camera/vi/vi2_fops.h
drivers/media/platform/tegra/camera/vi/vi4_fops.c
drivers/media/platform/tegra/camera/vi/vi4_fops.h
drivers/media/platform/tegra/vi/vi.c