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-v6.13-rc1-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

- aquacomputer_d5next: Fix length of speed_input array

- tps23861: Fix reporting of negative temperatures

- tmp108: Do not fail in I3C probe when I3C regmap is a module

* tag 'hwmon-for-v6.13-rc1-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (aquacomputer_d5next) Fix length of speed_input array
hwmon: (tps23861) Fix reporting of negative temperatures
hwmon: (tmp108) Do not fail in I3C probe when I3C regmap is a module

+2 -7
+1 -1
drivers/hwmon/aquacomputer_d5next.c
··· 597 597 598 598 /* Sensor values */ 599 599 s32 temp_input[20]; /* Max 4 physical and 16 virtual or 8 physical and 12 virtual */ 600 - s32 speed_input[8]; 600 + s32 speed_input[9]; 601 601 u32 speed_input_min[1]; 602 602 u32 speed_input_target[1]; 603 603 u32 speed_input_max[1];
-5
drivers/hwmon/tmp108.c
··· 452 452 struct device *dev = i3cdev_to_dev(i3cdev); 453 453 struct regmap *regmap; 454 454 455 - #ifdef CONFIG_REGMAP_I3C 456 455 regmap = devm_regmap_init_i3c(i3cdev, &tmp108_regmap_config); 457 - #else 458 - regmap = ERR_PTR(-ENODEV); 459 - #endif 460 - 461 456 if (IS_ERR(regmap)) 462 457 return dev_err_probe(dev, PTR_ERR(regmap), 463 458 "Failed to register i3c regmap\n");
+1 -1
drivers/hwmon/tps23861.c
··· 132 132 if (err < 0) 133 133 return err; 134 134 135 - *val = (regval * TEMPERATURE_LSB) - 20000; 135 + *val = ((long)regval * TEMPERATURE_LSB) - 20000; 136 136 137 137 return 0; 138 138 }