projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939179f
)
gpu: host1x: Allow reset to be missing
author
Mikko Perttunen
<mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:20:02 +0000
(17:20 +0300)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 8 Jul 2022 14:27:52 +0000
(16:27 +0200)
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>
drivers/gpu/host1x/dev.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/host1x/dev.c
b/drivers/gpu/host1x/dev.c
index 5a57165ab0f6a4d56b05e36d6e29df2147d63589..c28939850bf690234350fbe99835bedca27ee39a 100644
(file)
--- 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;
}