summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/it87.c
diff options
context:
space:
mode:
authorFrank Crawford <frank@crawford.emu.id.au>2023-04-16 14:25:10 +1000
committerGuenter Roeck <linux@roeck-us.net>2023-04-21 07:27:23 -0700
commit0be100771711b99ab561ee3121657329a11e173a (patch)
tree83c0f862cb8c94391d522eaf937509998cdbe938 /drivers/hwmon/it87.c
parent376e1a937b3056802f3ad86811ec92ee3f49d560 (diff)
downloadlinux-stable-0be100771711b99ab561ee3121657329a11e173a.tar.gz
linux-stable-0be100771711b99ab561ee3121657329a11e173a.tar.bz2
linux-stable-0be100771711b99ab561ee3121657329a11e173a.zip
hwmon: (it87) Disable/enable SMBus access for IT8622E chipset
Configure the IT8622E chip to disable/re-enable access via an SMBus when reading or writing the chip's registers. Signed-off-by: Frank Crawford <frank@crawford.emu.id.au> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/it87.c')
-rw-r--r--drivers/hwmon/it87.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index cb97b3f029bd..eb38f54ebeb6 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -474,6 +474,7 @@ static const struct it87_devices it87_devices[] = {
| FEAT_FIVE_PWM | FEAT_IN7_INTERNAL | FEAT_PWM_FREQ2
| FEAT_AVCC3 | FEAT_VIN3_5V,
.peci_mask = 0x07,
+ .smbus_bitmap = BIT(1) | BIT(2),
},
[it8628] = {
.name = "it8628",