From: Frank Crawford Date: Sun, 16 Apr 2023 04:25:10 +0000 (+1000) Subject: hwmon: (it87) Disable/enable SMBus access for IT8622E chipset X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0be100771711b99ab561ee3121657329a11e173a;p=linux.git 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 Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index cb97b3f029bde..eb38f54ebeb61 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",