aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristian Kellner <[email protected]>2017-02-28 17:10:56 +0100
committerDarren Hart <[email protected]>2017-03-14 22:57:12 -0700
commit149c8c75b38be528b8648d907195f188bc8fb0fb (patch)
treef213e9083198c7ac93dffdd6f8485f7e0588c886 /tools/perf/scripts/python/stackcollapse.py
parentfaf667efdbe5f6c8d6962aab8680680838678097 (diff)
platform/x86: thinkpad_acpi: guard generic hotkey case
Currently when dispatching hotkeys we check if the scancode is in the range of 0 and TPACPI_HOTKEY_MAP_LEN, although the bottom 20 entries in the hotkey keymap are already adaptive keycodes. Therefore we introduce a TP_ACPI_HOTKEYSCAN_ADAPTIVE_START and ensure that we are in the range 0 and ADAPTIVE_START for the generic keycode case. Signed-off-by: Christian Kellner <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Acked-by: Henrique de Moraes Holschuh <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions