aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdata/spira.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index 7e88348..a142188 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -1455,7 +1455,7 @@ static void add_npu(struct dt_node *xscom, const struct HDIF_array_hdr *links,
if (size <= 0x24)
continue;
- switch (be32_to_cpu(link->link_speed)) {
+ switch (link->link_speed) {
case 0: /* 20Gbps */
speed = 20000000000ul;
nvlink_speed = 0x3;