Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/media/pci/intel/ipu7/psys/ipu-psys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ static int ipu7_psys_init_debugfs(struct ipu7_psys *psys)
struct dentry *file;
struct dentry *dir;

dir = debugfs_create_dir("psys", psys->adev->isp->ipu7_dir);
dir = debugfs_create_dir("ipu7-psys", NULL);
if (IS_ERR(dir))
return -ENOMEM;

Expand Down Expand Up @@ -1342,7 +1342,7 @@ static int ipu7_psys_probe(struct auxiliary_device *auxdev,
unsigned int i;
int ret;

if (!adev->isp->ipu7_bus_ready_to_probe)
if (adev->isp->ipu7_bus_ready_to_probe)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems hacking the psys_probe() implementation. This should be avoided.
Value of this variable “isp->ipu7_bus_ready_to_probe = true;” should be true always, before psys_probe is called.

return -EPROBE_DEFER;

ret = alloc_chrdev_region(&ipu7_psys_dev_t, 0,
Expand Down