diff --git a/src/ec/acpi/ec.h b/src/ec/acpi/ec.h index 48982d315e..86fa4e55d5 100644 --- a/src/ec/acpi/ec.h +++ b/src/ec/acpi/ec.h @@ -33,8 +33,8 @@ #define RD_EC 0x80 // Read Embedded Controller #define WR_EC 0x81 // Write Embedded Controller #define BE_EC 0x82 // Burst Enable Embedded Controller -#define BD_EC 0x83 // Burst Disable Embedded Controller -#define QR_EC 0x84 // Query Embedded Controller +#define BD_EC 0x83 // Burst Disable Embedded Controller +#define QR_EC 0x84 // Query Embedded Controller int send_ec_command(u8 command); int send_ec_data(u8 data); diff --git a/src/ec/google/chromeec/ec_mec.c b/src/ec/google/chromeec/ec_mec.c index 4cd0823ed3..f08f931b1c 100644 --- a/src/ec/google/chromeec/ec_mec.c +++ b/src/ec/google/chromeec/ec_mec.c @@ -38,7 +38,7 @@ enum { #define MEC_EMI_EC_ADDRESS_B1 (MEC_EMI_BASE + 3) #define MEC_EMI_EC_DATA_B0 (MEC_EMI_BASE + 4) #define MEC_EMI_EC_DATA_B1 (MEC_EMI_BASE + 5) -#define MEC_EMI_EC_DATA_B2 (MEC_EMI_BASE + 6) +#define MEC_EMI_EC_DATA_B2 (MEC_EMI_BASE + 6) #define MEC_EMI_EC_DATA_B3 (MEC_EMI_BASE + 7) /* diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index b6121aab1a..76c43a634b 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -149,7 +149,7 @@ Device(EC) Method(_Q26, 0, NotSerialized) { Notify (AC, 0x80) - \PNOT() + \PNOT() } /* AC status change: not present */ @@ -157,7 +157,7 @@ Device(EC) { Notify (AC, 0x80) Store(0x50, EVNT) - \PNOT() + \PNOT() } Method(_Q2A, 0, NotSerialized) diff --git a/src/ec/quanta/ene_kb3940q/ec.h b/src/ec/quanta/ene_kb3940q/ec.h index 159a158d25..b04809e0f7 100644 --- a/src/ec/quanta/ene_kb3940q/ec.h +++ b/src/ec/quanta/ene_kb3940q/ec.h @@ -123,10 +123,10 @@ void ec_mem_write(u8 addr, u8 data); #define EC_CPU_TMP 0x78 #define EC_GPU_TMP 0x79 -#define EC_LOCAL_TMP1 0x7A -#define EC_LOCAL_TMP2 0x7B -#define EC_FAN_TACH_LO 0x7C -#define EC_FAN_TACH_HI 0x7D +#define EC_LOCAL_TMP1 0x7A +#define EC_LOCAL_TMP2 0x7B +#define EC_FAN_TACH_LO 0x7C +#define EC_FAN_TACH_HI 0x7D #define EC_FAN_DBG_RPM_LO 0x7E #define EC_FAN_DBG_RPM_HI 0x7F