]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: int1092: Fix non sequential device mode handling
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)
commit663d718de13bd2a6cb7779bc8d3c78f91503f232
tree4547a4ee53125803f8bd90ecd497ddb6d9e5fdf0
parentc41fece3f67a089afe94f555e1a75d7e97763dc7
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