diff options
| author | Harshit Mogalapalli <[email protected]> | 2023-10-26 07:53:28 +0000 |
|---|---|---|
| committer | Dipen Patel <[email protected]> | 2023-10-27 21:07:15 +0000 |
| commit | b7c3ca3553d1de5e86c85636828e186d30cd0628 (patch) | |
| tree | 08583776a49e1100633a5a7bd43fdb9ffd4bbd1f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | hte: tegra194: Switch to LATE_SIMPLE_DEV_PM_OPS() (diff) | |
| download | kernel-b7c3ca3553d1de5e86c85636828e186d30cd0628.tar.gz kernel-b7c3ca3553d1de5e86c85636828e186d30cd0628.zip | |
hte: tegra: Fix missing error code in tegra_hte_test_probe()
The value of 'ret' is zero when of_hte_req_count() fails to get number
of entitties to timestamp. And returning success(zero) on this failure
path is incorrect.
Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver")
Signed-off-by: Harshit Mogalapalli <[email protected]>
Reviewed-by: Dipen Patel <[email protected]>
Signed-off-by: Dipen Patel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
