aboutsummaryrefslogtreecommitdiff
path: root/hw/npu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/npu2.c')
-rw-r--r--hw/npu2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index a8560cf..e39782a 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -196,7 +196,7 @@ static void npu2_write_bar(struct npu2 *p,
if (p)
npu2_write(p, reg, val);
else
- npu2_scom_write(gcid, scom, reg, val, NPU2_MISC_DA_LEN_8B);
+ npu2_scom_write(gcid, scom, reg, NPU2_MISC_DA_LEN_8B, val);
}
}