summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/stoneyridge/smihandler.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c
index 606378966e..ef24baaac4 100644
--- a/src/soc/amd/stoneyridge/smihandler.c
+++ b/src/soc/amd/stoneyridge/smihandler.c
@@ -112,12 +112,12 @@ static void sb_apmc_smi_handler(void)
static void disable_all_smi_status(void)
{
- smi_write32(smi_read32(SMI_SCI_STATUS), SMI_SCI_STATUS);
- smi_write32(smi_read32(SMI_REG_SMISTS0), SMI_REG_SMISTS0);
- smi_write32(smi_read32(SMI_REG_SMISTS1), SMI_REG_SMISTS1);
- smi_write32(smi_read32(SMI_REG_SMISTS2), SMI_REG_SMISTS2);
- smi_write32(smi_read32(SMI_REG_SMISTS3), SMI_REG_SMISTS3);
- smi_write32(smi_read32(SMI_REG_SMISTS4), SMI_REG_SMISTS4);
+ smi_write32(SMI_SCI_STATUS, smi_read32(SMI_SCI_STATUS));
+ smi_write32(SMI_REG_SMISTS0, smi_read32(SMI_REG_SMISTS0));
+ smi_write32(SMI_REG_SMISTS1, smi_read32(SMI_REG_SMISTS1));
+ smi_write32(SMI_REG_SMISTS2, smi_read32(SMI_REG_SMISTS2));
+ smi_write32(SMI_REG_SMISTS3, smi_read32(SMI_REG_SMISTS3));
+ smi_write32(SMI_REG_SMISTS4, smi_read32(SMI_REG_SMISTS4));
}
static void sb_slp_typ_handler(void)