Skip to content
Commit 46a5f173 authored by Alistair John Strachan's avatar Alistair John Strachan Committed by Jean Delvare
Browse files

hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe



When CONFIG_DMI is not enabled, dmi detection should flag that no board
could be detected (err=1) rather than another error condition (err<0).

This fixes the fallback to manual probing for all motherboards, even
those without DMI strings, when CONFIG_DMI=n.

Signed-off-by: default avatarAlistair John Strachan <alistair@devzero.co.uk>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 3907a8de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment