Commit 7952849
committed
platform/x86: thinkpad_acpi: Fix registration of tpacpi platform driver
JIRA: https://issues.redhat.com/browse/RHEL-89362
commit b3e127d
Author: Mark Pearson <mpearson-lenovo@squebb.ca>
Date: Tue Feb 11 12:36:11 2025 -0500
The recent platform profile changes prevent the tpacpi platform driver
from registering. This error is seen in the kernel logs, and the
various tpacpi entries are not created:
[ 7550.642171] platform thinkpad_acpi: Resources present before probing
This happens because devm_platform_profile_register() is called before
tpacpi_pdev probes (thanks to Kurt Borja for identifying the root
cause).
For now revert back to the old platform_profile_register to fix the
issue. This is quick fix and will be re-implemented later as more
testing is needed for full solution.
Tested on X1 Carbon G12.
Fixes: 31658c9 ("platform/x86: thinkpad_acpi: Use devm_platform_profile_register()")
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250211173620.16522-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>1 parent e46a10c commit 7952849
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10644 | 10644 | | |
10645 | 10645 | | |
10646 | 10646 | | |
10647 | | - | |
10648 | | - | |
| 10647 | + | |
| 10648 | + | |
10649 | 10649 | | |
10650 | 10650 | | |
10651 | 10651 | | |
| |||
10663 | 10663 | | |
10664 | 10664 | | |
10665 | 10665 | | |
| 10666 | + | |
| 10667 | + | |
| 10668 | + | |
| 10669 | + | |
| 10670 | + | |
| 10671 | + | |
10666 | 10672 | | |
10667 | 10673 | | |
| 10674 | + | |
10668 | 10675 | | |
10669 | 10676 | | |
10670 | 10677 | | |
| |||
0 commit comments