]> git.sur5r.net Git - groeck-it87/commitdiff
Add SMBus bitmap for IT8622
authorGuenter Roeck <linux@roeck-us.net>
Sun, 1 Oct 2017 22:28:24 +0000 (15:28 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 1 Oct 2017 22:28:24 +0000 (15:28 -0700)
IT8622 supports two external SMBus channels. Add bitmask to disable them
while accessing the chip.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index 9d6d47492d8aafdd4b9f7e2a5c8d3b05c503db75..9edcb5a01345d6eec5866e59e7a618a03dcdd9ca 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -617,6 +617,7 @@ static const struct it87_devices it87_devices[] = {
                .num_temp_offset = 3,
                .num_temp_map = 4,
                .peci_mask = 0x07,
+               .smbus_bitmap = BIT(1) | BIT(2),
        },
        [it8625] = {
                .name = "it8625",