linux/drivers/hwmon/occ
Eddie James 8e6af45411 hwmon: (occ) Fix power sensor indexing
In the case of power sensor version 0xA0, the sensor indexing overlapped
with the "caps" power sensors, resulting in probe failure and kernel
warnings. Fix this by specifying the next index for each power sensor
version.

Fixes: 54076cb3b5 ("hwmon (occ): Add sensor attributes and register ...")
Cc: stable@vger.kernel.org
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2019-03-29 09:51:44 -07:00
..
common.c hwmon: (occ) Fix power sensor indexing 2019-03-29 09:51:44 -07:00
common.h hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
Kconfig
Makefile hwmon (occ): Add sysfs attributes for additional OCC data 2018-12-16 15:13:10 -08:00
p8_i2c.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
p9_sbe.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
sysfs.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00