mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
The callers of nvgpu_get_nvhost_dev() expect that if all goes well, nvhost and syncpoint support exists. Thus if the device tree entry is not found, return -ENOSYS instead of 0. Bug 3394386 Change-Id: I4617aa2cfc240ade53294c26b3e8c2ce50b66913 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2608549 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
5.7 KiB
5.7 KiB