summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/intel/haswell/gma.c2
-rw-r--r--src/southbridge/intel/lynxpoint/pmutil.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
index e1b8b73097..6e6948b70f 100644
--- a/src/northbridge/intel/haswell/gma.c
+++ b/src/northbridge/intel/haswell/gma.c
@@ -408,7 +408,7 @@ static void gma_enable_swsci(void)
/* Clear DMISCI status */
reg16 = inw(get_pmbase() + TCO1_STS);
reg16 &= DMISCI_STS;
- outw(get_pmbase() + TCO1_STS, reg16);
+ outw(reg16, get_pmbase() + TCO1_STS);
/* Clear and enable ACPI TCO SCI */
enable_tco_sci();
diff --git a/src/southbridge/intel/lynxpoint/pmutil.c b/src/southbridge/intel/lynxpoint/pmutil.c
index 8117b4d3ea..dd7f1990b9 100644
--- a/src/southbridge/intel/lynxpoint/pmutil.c
+++ b/src/southbridge/intel/lynxpoint/pmutil.c
@@ -356,7 +356,7 @@ void enable_tco_sci(void)
u16 gpe0_sts = pch_is_lp() ? LP_GPE0_STS_4 : GPE0_STS;
/* Clear pending events */
- outl(get_pmbase() + gpe0_sts, TCOSCI_STS);
+ outl(TCOSCI_STS, get_pmbase() + gpe0_sts);
/* Enable TCO SCI events */
enable_gpe(TCOSCI_EN);