Skip to content

Commit c624da7

Browse files
marcanjannau
authored andcommitted
media: apple: isp: Do not defer on failure to initialize DART
This can fail for non-DEFER reasons. If this can happen due to probe defers, we need to figure out some way to signal that specifically... Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 0e59079 commit c624da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/media/platform/apple/isp/isp-drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int apple_isp_init_iommu(struct apple_isp *isp)
9090

9191
isp->domain = iommu_get_domain_for_dev(isp->dev);
9292
if (!isp->domain)
93-
return -EPROBE_DEFER;
93+
return -ENODEV;
9494
isp->shift = __ffs(isp->domain->pgsize_bitmap);
9595

9696
idx = of_property_match_string(dev->of_node, "memory-region-names", "heap");

0 commit comments

Comments
 (0)