mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
capture: isp: add file ops
This change does the following: - Rename tegra194_isp5_ctrl_ops to isp_ctrl_ops - Add isp_ctrl_ops to structs that missed it Without this change, we see errors from core_scf when it attempts to open /dev/nvhost-ctrl-isp and /dev/nvhost-ctrl-isp1 Jira CT26X-1679 Change-Id: Ief17d6a5e25efb9549f430bb41e3efd201e118db Signed-off-by: Rakibul Hassan <rakibulh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3168176 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Shubham Chandra <shubhamc@nvidia.com> Tested-by: Shubham Chandra <shubhamc@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Praveen AC <pac@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
b5fdfc6e7f
commit
20ce5d1519
@@ -302,7 +302,7 @@ static int isp_release(struct inode *inode, struct file *file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
const struct file_operations tegra194_isp5_ctrl_ops = {
|
||||
const struct file_operations isp_ctrl_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = isp_open,
|
||||
.unlocked_ioctl = isp_ioctl,
|
||||
@@ -330,7 +330,7 @@ struct nvhost_device_data t19_isp5_info = {
|
||||
.clocks = {
|
||||
{"isp", UINT_MAX},
|
||||
},
|
||||
.ctrl_ops = &tegra194_isp5_ctrl_ops,
|
||||
.ctrl_ops = &isp_ctrl_ops,
|
||||
.pre_virt_init = isp5_priv_early_probe,
|
||||
.post_virt_init = isp5_priv_late_probe,
|
||||
.autosuspend_delay = 500,
|
||||
@@ -344,6 +344,7 @@ struct nvhost_device_data t264_isp_info = {
|
||||
.clocks = {
|
||||
{"isp", UINT_MAX},
|
||||
},
|
||||
.ctrl_ops = &isp_ctrl_ops,
|
||||
.pre_virt_init = isp5_priv_early_probe,
|
||||
.post_virt_init = isp5_priv_late_probe,
|
||||
.can_powergate = false,
|
||||
@@ -356,6 +357,7 @@ struct nvhost_device_data t264_isp1_info = {
|
||||
.clocks = {
|
||||
{"isp1", UINT_MAX},
|
||||
},
|
||||
.ctrl_ops = &isp_ctrl_ops,
|
||||
.pre_virt_init = isp5_priv_early_probe,
|
||||
.post_virt_init = isp5_priv_late_probe,
|
||||
.can_powergate = false,
|
||||
|
||||
Reference in New Issue
Block a user