]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/hwmon/nct7802.c
hwmon: (nct7802) Fix voltage limits to wrong registers
[mirror_ubuntu-bionic-kernel.git] / drivers / hwmon / nct7802.c
index 38ffbdb0a85fba288cdcac8e76cc7ff3eadec65d..779ec8fdfae082b640046bc36f4b2eb416e3b128 100644 (file)
@@ -32,8 +32,8 @@
 static const u8 REG_VOLTAGE[5] = { 0x09, 0x0a, 0x0c, 0x0d, 0x0e };
 
 static const u8 REG_VOLTAGE_LIMIT_LSB[2][5] = {
-       { 0x40, 0x00, 0x42, 0x44, 0x46 },
-       { 0x3f, 0x00, 0x41, 0x43, 0x45 },
+       { 0x46, 0x00, 0x40, 0x42, 0x44 },
+       { 0x45, 0x00, 0x3f, 0x41, 0x43 },
 };
 
 static const u8 REG_VOLTAGE_LIMIT_MSB[5] = { 0x48, 0x00, 0x47, 0x47, 0x48 };