Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mikko Perttunen and committed by
Thierry Reding
ee8f894f 939179fa

-3
-3
drivers/gpu/host1x/dev.c
··· 423 423 return err; 424 424 } 425 425 426 - if (WARN_ON(!host->resets[1].rstc)) 427 - return -ENOENT; 428 - 429 426 return 0; 430 427 } 431 428