summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-03-20 00:01:58 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-03-29 19:51:44 +0300
commit8e6af454117a51dbf6c8a47c00180a0c235052fe (patch)
tree0bab954ac8f6a520f0df8b9f5bfc492c32d7a45a /tools/perf/scripts/python
parenta165dcc923ada2ffdee1d4f41f12f81b66d04c55 (diff)
downloadlinux-8e6af454117a51dbf6c8a47c00180a0c235052fe.tar.xz
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: 54076cb3b5ff ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions