Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d59582a authored by Jean Delvare's avatar Jean Delvare
Browse files

hwmon: (tmp421) Restore missing inputs



An off-by-one error caused some inputs to not be created by the driver
when they should. TMP421 gets only one input instead of two, TMP422
gets two instead of three, etc. Fix the bug by listing explicitly the
number of inputs each device has.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Tested-by: default avatarAndre Prendel <andre.prendel@gmx.de>
Cc: stable@kernel.org
parent d58de038
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment