Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fix from Guenter Roeck:
"Fix chip initialization/configuration in MAX6697 driver"

* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (max6697) fix MAX6581 ideality

+2 -2
+2 -2
drivers/hwmon/max6697.c
··· 605 605 if (ret < 0) 606 606 return ret; 607 607 ret = i2c_smbus_write_byte_data(client, MAX6581_REG_IDEALITY, 608 - pdata->ideality_mask >> 1); 608 + pdata->ideality_value); 609 609 if (ret < 0) 610 610 return ret; 611 611 ret = i2c_smbus_write_byte_data(client, 612 612 MAX6581_REG_IDEALITY_SELECT, 613 - pdata->ideality_value); 613 + pdata->ideality_mask >> 1); 614 614 if (ret < 0) 615 615 return ret; 616 616 }