linux-stable/drivers/hte
Harshit Mogalapalli 19e557524d hte: tegra: Fix missing error code in tegra_hte_test_probe()
[ Upstream commit b7c3ca3553 ]

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: 9a75a7cd03 ("hte: Add Tegra HTE test driver")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:56:58 +01:00
..
Kconfig hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00
Makefile hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00
hte-tegra194-test.c hte: tegra: Fix missing error code in tegra_hte_test_probe() 2023-11-20 11:56:58 +01:00
hte-tegra194.c hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id() 2023-04-26 15:44:14 -07:00
hte.c hte: Use device_match_of_node() 2023-04-26 15:44:19 -07:00