diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-09-03 13:46:14 +0200 |
|---|---|---|
| committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-09-03 15:42:32 +0200 |
| commit | c016587866e573fa8dff50c3bdae9734c4418099 (patch) | |
| tree | 2279df2eb43b36e958b87c33fc2f931cf8dea92c /scripts/Makefile.thinlto | |
| parent | c824f2278af4e072ce7b796189af72315c195cf3 (diff) | |
| download | linux-next-c016587866e573fa8dff50c3bdae9734c4418099.tar.gz linux-next-c016587866e573fa8dff50c3bdae9734c4418099.zip | |
pinctrl: intel: Try to retrieve driver data for pure platform drivers
The Denverton pinctrl device can be instantiated by the Intel LPC
driver as an MFD platform device named "denverton-pinctrl".
On affected systems the platform device does not carry the INTC3000
ACPI match data itself. As a result, intel_pinctrl_probe_by_hid()
fails to obtain the SoC data using device_get_match_data() and
returns -ENODATA.
This might be also true for other platforms that can be enumerated
by ACPI _HID. Fix the above by trying the pure platform driver data
in case the firmware node is not set or doesn't carry the necessary
information.
Reported-by: Radek Válko <rvalko@lipicko.cz>
Closes: https://lore.kernel.org/r/20260827184259.32386-1-rvalko@lipicko.cz
Tested-by: Radek Válko <rvalko@lipicko.cz>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
