summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/ish/ish_fwst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/ish/ish_fwst.h b/chip/ish/ish_fwst.h
index edc347aa12..506740e51b 100644
--- a/chip/ish/ish_fwst.h
+++ b/chip/ish/ish_fwst.h
@@ -141,7 +141,7 @@ static inline int ish_fwst_is_hup_set(void)
/* set fw failure reason */
static inline void ish_fwst_set_fail_reason(uint32_t val)
{
- uint32_t fwst = REG32(IPC_ISH_FWSTS);
+ uint32_t fwst = IPC_ISH_FWSTS;
IPC_ISH_FWSTS = (fwst & ~IPC_ISH_FWSTS_FAIL_REASON_MASK) |
(val << IPC_ISH_FWSTS_FAIL_REASON_SHIFT);