gpu: host1x: Allow reset to be missing

Host1x on Tegra234 does not have a software-controllable reset line.
As such, don't bail out if we don't find one in the device tree.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Mikko Perttunen
2022-06-27 17:20:02 +03:00
committed by Thierry Reding
parent 939179fab8
commit ee8f894f3f

View File

@@ -423,9 +423,6 @@ static int host1x_get_resets(struct host1x *host)
return err;
}
if (WARN_ON(!host->resets[1].rstc))
return -ENOENT;
return 0;
}