]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerKelsey Skunberg <kelsey.skunberg@canonical.com>
Mon, 24 May 2021 23:46:19 +0000 (17:46 -0600)
commit328286601b4c4159e61f0d1b7daf8b89482139b7
tree42bcc71dddc25ffc35702a8709f494902932e0e6
parent90054dafde5ac5b229920551440973f7b9103cd0
mfd: intel_pmt: Fix nuisance messages and handling of disabled capabilities

BugLink: https://bugs.launchpad.net/bugs/1929455
[ Upstream commit a1a5c1c3df282dc122508a17500317266ef19e46 ]

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: 4f8217d5b0ca ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/mfd/intel_pmt.c