aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-04-21 21:32:09 +0000
committerJiri Kosina <[email protected]>2025-04-24 10:17:55 +0000
commit0cc2effbc8f522af6b9d871cd27678e6aed9d56c (patch)
tree789f0cb23a3fa286315c8fe84c722fe5d50b5519 /tools/perf/scripts/python
parentHID: wacom: fix shift OOB in kfifo allocation for zero pktlen (diff)
downloadkernel-0cc2effbc8f522af6b9d871cd27678e6aed9d56c.tar.gz
kernel-0cc2effbc8f522af6b9d871cd27678e6aed9d56c.zip
HID: amd_sfh: Fix SRA sensor when it's the only sensor
On systems that only have an SRA sensor connected to SFH the sensor doesn't get enabled due to a bad optimization condition of breaking the sensor walk loop. This optimization is unnecessary in the first place because if there is only one device then the loop only runs once. Drop the condition and explicitly mark sensor as enabled. Reported-by: Yijun Shen <[email protected]> Tested-By: Yijun Shen <[email protected]> Fixes: d1c444b47100d ("HID: amd_sfh: Add support to export device operating states") Cc: [email protected] Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Basavaraj Natikar <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions