Tegra194: mce: fix error code signedness
The MCE driver's helper functions were using postive values as error
codes.

This patch updates the functions to return negative values as error
codes instead. Some functions are updated to use the right error code.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I3e2ecc30a6272a357e1a22ec850543fde2a694f6
1 parent 44abf27 commit e1fcb1bf8949a20ca6af9c5aa3ce744554a0a36b
@Varun Wadekar Varun Wadekar authored on 3 Jan 2020
Showing 1 changed file
View
plat/nvidia/tegra/soc/t194/drivers/mce/nvg.c