summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhung Cheng <ahcheng@nvidia.com>2018-01-12 02:29:45 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2019-10-17 19:24:30 -0400
commitb7dd1e66dcf16d88eefe59cbd680118d465fa884 (patch)
tree1e13aee00fc4f56a49a284f0bf9894406ae96171 /include
parenta7bebdb0cbf57bd5602ad49bfc15a986f91f290b (diff)
media: tegra: add notifier unbind
Add notifier unbind to support sensor module removal and clean up subdev and video node. bug 2015230 bug 2719996 Change-Id: I701e06aa5f7e231368100dcde7198a3fdca09c8d Reviewed-on: https://git-master.nvidia.com/r/1637189 Signed-off-by: Frank Chen <frankc@nvidia.com> (cherry picked from commit f0103c38c3dc2c069c39b2d25cd7e5706eae927b) Reviewed-on: https://git-master.nvidia.com/r/2207584 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Shan Neng Chen <snchen@nvidia.com> Reviewed-by: Jerry Chang <jerchang@nvidia.com> Reviewed-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/mc_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/mc_common.h b/include/media/mc_common.h
index 4ddeb78df..f126ca798 100644
--- a/include/media/mc_common.h
+++ b/include/media/mc_common.h
@@ -338,6 +338,7 @@ int tegra_vi_channels_init(struct tegra_mc_vi *vi);
338int tegra_channel_cleanup(struct tegra_channel *chan); 338int tegra_channel_cleanup(struct tegra_channel *chan);
339int tegra_vi_channels_cleanup(struct tegra_mc_vi *vi); 339int tegra_vi_channels_cleanup(struct tegra_mc_vi *vi);
340int tegra_channel_init_subdevices(struct tegra_channel *chan); 340int tegra_channel_init_subdevices(struct tegra_channel *chan);
341void tegra_channel_remove_subdevices(struct tegra_channel *chan);
341struct v4l2_subdev *tegra_channel_find_linked_csi_subdev( 342struct v4l2_subdev *tegra_channel_find_linked_csi_subdev(
342 struct tegra_channel *chan); 343 struct tegra_channel *chan);
343int tegra_vi2_power_on(struct tegra_mc_vi *vi); 344int tegra_vi2_power_on(struct tegra_mc_vi *vi);