aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLuke D. Jones <[email protected]>2024-09-10 16:54:43 +1200
committerHans de Goede <[email protected]>2024-09-11 14:31:18 +0200
commit8e8895c9dc81a7fdbeb15adb394139e79f5281b6 (patch)
tree53d9805ff0444e1875dcf47163649d267b5d0a1a /tools/perf/util/scripting-engines/trace-event-python.c
parentf965e5bf656984c594e9010f1bb54a6de4c48e7b (diff)
platform/x86: asus-wmi: don't fail if platform_profile already registered
On some newer laptops ASUS laptops SPS support is advertised but not actually used, causing the AMD driver to register as a platform_profile handler. If this happens then the asus_wmi driver would error with -EEXIST when trying to register its own handler leaving the user with a possibly unusable system. This is especially true for laptops with an MCU that emit a stream of HID packets, some of which can be misinterpreted as shutdown signals. We can safely continue loading the driver instead of bombing out. Signed-off-by: Luke D. Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions