diff options
| author | 2026-04-30 08:11:01 -0700 | |
|---|---|---|
| committer | 2026-05-07 16:06:25 +0300 | |
| commit | ad3bff944c0f4f2e913298a9664391af32f87491 (patch) | |
| tree | d07cf1603a55545e12258d5c72b90d60cc01f499 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: samsung-galaxybook: Handle ACPI hotkey notifications (diff) | |
platform/x86: intel: Move debugfs register before creating devices
It is possible that the driver handling device is enumerated before
registering debugfs. If the driver wants to access debugfs by calling
tpmi_get_debugfs_dir(), this will return error in this case.
Hence register debugfs before creating devices.
Fixes: 811f67c51636 ("platform/x86/intel/tpmi: Add new auxiliary driver for performance limits")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Stable@vger.kernel.org
Link: https://patch.msgid.link/20260430151103.1549733-2-srinivas.pandruvada@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
