summaryrefslogtreecommitdiff
path: root/chip/ish/ish_fwst.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/ish/ish_fwst.h')
-rw-r--r--chip/ish/ish_fwst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/ish/ish_fwst.h b/chip/ish/ish_fwst.h
index 506740e51b..c114db3241 100644
--- a/chip/ish/ish_fwst.h
+++ b/chip/ish/ish_fwst.h
@@ -117,7 +117,7 @@ static inline void ish_fwst_clear_ilup(void)
/* return IPC link up state */
static inline int ish_fwst_is_ilup_set(void)
{
- return !!(IPC_ISH_FWSTS &= IPC_ISH_FWSTS_ILUP_MASK);
+ return !!(IPC_ISH_FWSTS & IPC_ISH_FWSTS_ILUP_MASK);
}
/* set HECI up */
@@ -135,7 +135,7 @@ static inline void ish_fwst_clear_hup(void)
/* get HECI up status */
static inline int ish_fwst_is_hup_set(void)
{
- return !!(IPC_ISH_FWSTS &= IPC_ISH_FWSTS_HUP_MASK);
+ return !!(IPC_ISH_FWSTS & IPC_ISH_FWSTS_HUP_MASK);
}
/* set fw failure reason */