summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f81803a
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-05 09:38:26 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-12-06 14:28:43 +0000
commitd3f2a1e4a977d26bf7a0c4e281fada356b75425c (patch)
tree1305201b8dba0ffcb379883c12c186517e44d9d3 /src/superio/fintek/f81803a
parent683657e93ac52a194807d824d417e7fc3226ee9d (diff)
downloadcoreboot-d3f2a1e4a977d26bf7a0c4e281fada356b75425c.tar.xz
superio/fintek: Fix typo
Change-Id: If5c0921e20b26ce558f542f405cf62ae8d4a8101 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37503 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio/fintek/f81803a')
-rw-r--r--src/superio/fintek/f81803a/fan_control.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/superio/fintek/f81803a/fan_control.c b/src/superio/fintek/f81803a/fan_control.c
index 41fd0d3d50..a08180a7f9 100644
--- a/src/superio/fintek/f81803a/fan_control.c
+++ b/src/superio/fintek/f81803a/fan_control.c
@@ -159,16 +159,16 @@ int set_sensor_type(u16 base_address, external_sensor sensor,
switch (sensor) {
case EXTERNAL_SENSOR1:
if (sensor_status & TP_EXTERNAL_SENSOR1_OPEN) {
- printk(BIOS_WARNING, "Sensor 1 disconected!\n");
- return HWM_STATUS_WARNING_SENSOR_DISCONECTED;
+ printk(BIOS_WARNING, "Sensor 1 disconnected!\n");
+ return HWM_STATUS_WARNING_SENSOR_DISCONNECTED;
}
hwm_reg_modify(base_address, TP_SENSOR_TYPE,
TP_SENSOR1_TYPE_SHIFT, TP_SENSOR_TYPE_MASK, type);
break;
case EXTERNAL_SENSOR2:
if (sensor_status & TP_EXTERNAL_SENSOR2_OPEN) {
- printk(BIOS_WARNING, "Sensor 2 disconected!\n");
- return HWM_STATUS_WARNING_SENSOR_DISCONECTED;
+ printk(BIOS_WARNING, "Sensor 2 disconnected!\n");
+ return HWM_STATUS_WARNING_SENSOR_DISCONNECTED;
}
hwm_reg_modify(base_address, TP_SENSOR_TYPE,
TP_SENSOR2_TYPE_SHIFT, TP_SENSOR_TYPE_MASK, type);