summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDerek J. Clark <derekjohn.clark@gmail.com>2026-09-14 15:53:00 -0700
committerJiri Kosina <jkosina@suse.com>2026-10-16 12:02:06 +0200
commit8f456881ba40a04494440663231ba773a06588f3 (patch)
tree2705333d4a4004523f1dd8dbba0e34acd2adfd67 /tools/perf/scripts/python/task-analyzer.py
parente69b64d3d75eb10177f75d3d4947e032cb46eeb9 (diff)
HID: hid-lenovo-go-s: Move attribute init to after device query
Currently this driver registers attributes before the MCU is ready to accept commands. This can lead to attribute access that blocks the MCU in some rare cases. Move attribute construction to gos_cfg_setup, after the device has been queried. Gate creation to drvdata.gp_registered and drvdata.rgb_registered so a resume before setup has run doesn't prevent attribute creation or attempt to re-register the same attributes. Fixes: a23f3497bf208c59ad ("HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver") Cc: stable@vger.kernel.org Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions