Browse Source

Tegra186: mce: fix return value for enum features ari

This patch fixes the incorrect return value that was being passed
back for the ENUM_FEATURES ARI call.

Change-Id: I3842c6ce27ea24698608830cf4c12cfa7ff64421
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
pull/891/head
Krishna Sitaraman 8 years ago
committed by Varun Wadekar
parent
commit
6ef90b9638
  1. 4
      plat/nvidia/tegra/soc/t186/drivers/mce/mce.c

4
plat/nvidia/tegra/soc/t186/drivers/mce/mce.c

@ -307,14 +307,12 @@ int mce_command_handler(mce_cmd_t cmd, uint64_t arg0, uint64_t arg1,
break;
case MCE_CMD_ENUM_FEATURES:
ret = ops->call_enum_misc(cpu_ari_base,
ret64 = ops->call_enum_misc(cpu_ari_base,
TEGRA_ARI_MISC_FEATURE_LEAF_0, arg0);
/* update context to return features value */
write_ctx_reg(gp_regs, CTX_GPREG_X1, ret64);
ret = 0;
break;
case MCE_CMD_ROC_FLUSH_CACHE_TRBITS:

Loading…
Cancel
Save