summaryrefslogtreecommitdiff
path: root/driver/temp_sensor/sb_tsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/temp_sensor/sb_tsi.c')
-rw-r--r--driver/temp_sensor/sb_tsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/temp_sensor/sb_tsi.c b/driver/temp_sensor/sb_tsi.c
index 9cf42d983f..3de816e1dc 100644
--- a/driver/temp_sensor/sb_tsi.c
+++ b/driver/temp_sensor/sb_tsi.c
@@ -19,7 +19,8 @@
static int raw_read8(const int offset, int *data_ptr)
{
- return i2c_read8(I2C_PORT_THERMAL, SB_TSI_I2C_ADDR, offset, data_ptr);
+ return i2c_read8__7bf(I2C_PORT_THERMAL, SB_TSI_I2C_ADDR__7bf,
+ offset, data_ptr);
}
int sb_tsi_get_val(int idx, int *temp_ptr)