summaryrefslogtreecommitdiff
path: root/chip/it83xx/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/i2c.c')
-rw-r--r--chip/it83xx/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/i2c.c b/chip/it83xx/i2c.c
index b76c04ba1e..da45735cf1 100644
--- a/chip/it83xx/i2c.c
+++ b/chip/it83xx/i2c.c
@@ -201,7 +201,7 @@ struct i2c_port_data {
int err; /* Error code, if any */
uint8_t addr; /* address of device */
uint32_t timeout_us; /* Transaction timeout, or 0 to use default */
- uint8_t freq; /* Freqency setting */
+ uint8_t freq; /* Frequency setting */
enum i2c_ch_status i2ccs;
/* Task waiting on port, or TASK_ID_INVALID if none. */
@@ -887,7 +887,7 @@ static void i2c_freq_changed(void)
* (1 / (1000 x freq)) x (1 / 2)) - 2
*/
if (freq) {
- /* Get SMBus clock devide value */
+ /* Get SMBus clock divide value */
clk_div = (IT83XX_ECPM_SCDCR2 & 0x0F) + 1;
/* Calculate PSR value */
psr = (PLL_CLOCK /