]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
platform/x86: int1092: Fix non sequential device mode handling for-next review-andy
authorShravan S <s.shravan@intel.com>
Wed, 6 Oct 2021 07:35:25 +0000 (13:05 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Oct 2021 14:38:32 +0000 (16:38 +0200)
commit85303db36b6e170917a7bc6aae4898c31a5272a0
tree4547a4ee53125803f8bd90ecd497ddb6d9e5fdf0
parent0b243c003e11897bd443ae9be4eda76a57ff732a
platform/x86: int1092: Fix non sequential device mode handling

SAR information from BIOS may come in non sequential pattern.

To overcome the issue, a check is made to extract the right SAR
information using the device mode which is currently being used.

Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Shravan S <s.shravan@intel.com>
Link: https://lore.kernel.org/r/20211006073525.1332925-1-s.shravan@intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
MAINTAINERS
drivers/platform/x86/intel/int1092/intel_sar.c