diff options
| author | Ahung Cheng <ahcheng@nvidia.com> | 2018-01-12 02:29:45 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-10-17 19:24:30 -0400 |
| commit | b7dd1e66dcf16d88eefe59cbd680118d465fa884 (patch) | |
| tree | 1e13aee00fc4f56a49a284f0bf9894406ae96171 /include | |
| parent | a7bebdb0cbf57bd5602ad49bfc15a986f91f290b (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.h | 1 |
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); | |||
| 338 | int tegra_channel_cleanup(struct tegra_channel *chan); | 338 | int tegra_channel_cleanup(struct tegra_channel *chan); |
| 339 | int tegra_vi_channels_cleanup(struct tegra_mc_vi *vi); | 339 | int tegra_vi_channels_cleanup(struct tegra_mc_vi *vi); |
| 340 | int tegra_channel_init_subdevices(struct tegra_channel *chan); | 340 | int tegra_channel_init_subdevices(struct tegra_channel *chan); |
| 341 | void tegra_channel_remove_subdevices(struct tegra_channel *chan); | ||
| 341 | struct v4l2_subdev *tegra_channel_find_linked_csi_subdev( | 342 | struct v4l2_subdev *tegra_channel_find_linked_csi_subdev( |
| 342 | struct tegra_channel *chan); | 343 | struct tegra_channel *chan); |
| 343 | int tegra_vi2_power_on(struct tegra_mc_vi *vi); | 344 | int tegra_vi2_power_on(struct tegra_mc_vi *vi); |
