From 7e01438ed37df4127db7fe9e3ca109b8e2063cd9 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Tue, 11 Nov 2025 13:27:13 +0200 Subject: [PATCH] bdk: fuse: correct masking on array read cmd --- bdk/soc/fuse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bdk/soc/fuse.c b/bdk/soc/fuse.c index 96681967..be07ff1e 100644 --- a/bdk/soc/fuse.c +++ b/bdk/soc/fuse.c @@ -2,7 +2,7 @@ * Copyright (c) 2018 naehrwert * Copyright (c) 2018 shuffle2 * Copyright (c) 2018 balika011 - * Copyright (c) 2019-2023 CTCaer + * Copyright (c) 2019-2025 CTCaer * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -176,7 +176,8 @@ void fuse_wait_idle() u32 fuse_read(u32 addr) { FUSE(FUSE_ADDR) = addr; - FUSE(FUSE_CTRL) = (FUSE(FUSE_ADDR) & ~FUSE_CMD_MASK) | FUSE_READ; + FUSE(FUSE_CTRL) = (FUSE(FUSE_CTRL) & ~FUSE_CMD_MASK) | FUSE_READ; + fuse_wait_idle(); return FUSE(FUSE_RDATA);