diff options
Diffstat (limited to 'src/soc/intel/sch')
-rw-r--r-- | src/soc/intel/sch/smbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/sch/smbus.h b/src/soc/intel/sch/smbus.h index e34ca52cb0..19d70b6451 100644 --- a/src/soc/intel/sch/smbus.h +++ b/src/soc/intel/sch/smbus.h @@ -59,7 +59,7 @@ static int do_smbus_read_byte(unsigned smbus_base, unsigned device, /* Setup transaction */ /* Disable interrupts */ outb(inb(smbus_base + SMBHSTCTL) & (~1), smbus_base + SMBHSTCTL); - /* Set the device I'm talking too */ + /* Set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_base + SMBXMITADD); /* Set the command/address... */ outb(address & 0xff, smbus_base + SMBHSTCMD); |