diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-06-27 17:20:02 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 17:27:52 +0300 |
commit | ee8f894f3fb326ac17b243441b8cbbb6fb0d0932 (patch) | |
tree | 76714109373c385cc6bd83590c20626a99bfee60 /drivers/gpu/host1x | |
parent | 939179fab8ff42165c1e9a487495a3f2f3319e18 (diff) | |
download | linux-ee8f894f3fb326ac17b243441b8cbbb6fb0d0932.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 5a57165ab0f6..c28939850bf6 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -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; } |