summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorDenis Benato <denis.benato@linux.dev>2026-09-16 14:38:25 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-09-18 21:07:09 +0300
commit159e956fd4f9cf863b2759cffb4f01fd4d6c2742 (patch)
treebfda8454a7d8248a74fdb79d0dcf0bd0adbe8f4a /tools/perf/python/stackcollapse.py
parentbc39af8c2c43b493ae914245a3092128424ceb62 (diff)
downloadlinux-next-159e956fd4f9cf863b2759cffb4f01fd4d6c2742.tar.gz
linux-next-159e956fd4f9cf863b2759cffb4f01fd4d6c2742.zip
platform/x86: asus-wmi: fix unclear usage of bd->props.power
The bd->props.power is checked in parts of the driver correctly comparing with BACKLIGHT_POWER_ON, while in others with a raw usage of bd->props.power and !bd->props.power, moreover in certain checks the logic has been inverted due to BACKLIGHT_POWER_ON being defined as 0: fix both the wrong usage and the inconsistencies by using proper comparisons. Fixes: 130d29c5627c ("platform/x86: asus-wmi: adjust screenpad power/brightness handling") Closes: https://lore.kernel.org/all/178362762638.911488.8564892548331679884@eldamar.lan/ Closes: https://lore.kernel.org/all/ea9c63d1-4776-49d5-9dc4-6c09498f99c9@linux.dev/ Tested-by: Hugo Baigue <hugobaigue2004@gmail.com> Tested-by: Ponali <ponali2k@gmail.com> Cc: stable@vger.kernel.org Assisted-by: zcode:glm-5.3-flash Signed-off-by: Denis Benato <denis.benato@linux.dev> Link: https://patch.msgid.link/20260916143838.170950-2-denis.benato@linux.dev 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/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions