linux/drivers/firmware/tegra
Mikko Perttunen 60b3a99a3b firmware: tegra: bpmp: Fix error paths in debugfs
Some error paths in mrq_debug_read and bpmp_debug_show would overwrite
the return error code with a subsequent call to mrq_debug_close.

Change the code to only change the error code if there was no prior
error.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2023-04-03 14:29:05 +02:00
..
bpmp-debugfs.c firmware: tegra: bpmp: Fix error paths in debugfs 2023-04-03 14:29:05 +02:00
bpmp-private.h firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00
bpmp-tegra186.c firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00
bpmp-tegra210.c firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname() 2022-11-17 23:52:39 +01:00
bpmp.c firmware: tegra: bpmp: Do not support big-endian 2022-10-24 15:18:23 +02:00
ivc.c firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00
Kconfig tegra: mark BPMP driver as little-endian only 2022-11-23 14:21:23 +01:00
Makefile firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00