aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorEddie James <[email protected]>2019-03-19 16:01:58 -0500
committerGuenter Roeck <[email protected]>2019-03-29 09:51:44 -0700
commit8e6af454117a51dbf6c8a47c00180a0c235052fe (patch)
tree0bab954ac8f6a520f0df8b9f5bfc492c32d7a45a /lib/test_overflow.c
parenta165dcc923ada2ffdee1d4f41f12f81b66d04c55 (diff)
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: [email protected] Signed-off-by: Eddie James <[email protected]> Tested-by: Joel Stanley <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions