]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: intel_pmt: Fix nuisance messages and handling of disabled capabilities
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 24 Feb 2021 20:10:04 +0000 (12:10 -0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Mar 2021 10:48:46 +0000 (10:48 +0000)
commit9f2d8086be547209fd5b2d01780b085ae0c95a80
tree3b442a571a071f40a8c8643e2ea611469255dcd9
parent219c9076286fd92026e818ab1375558e5b20649f
mfd: intel_pmt: Fix nuisance messages and handling of disabled capabilities

Some products will be available that have PMT capabilities that are not
supported. Remove the warnings in this instance to avoid nuisance messages
and confusion.

Also return an error code for capabilities that are disabled by quirk to
prevent them from keeping the driver loaded if only disabled capabilities
are found.

Fixes: f58f1d05a212 ("mfd: Intel Platform Monitoring Technology support")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_pmt.c