diff options
author | 2025-03-03 11:55:18 -0800 | |
---|---|---|
committer | 2025-03-04 21:51:04 +0100 | |
commit | 5e013ad206895e72d7da41bc1ae89d8cb499c3aa (patch) | |
tree | 07ca334e3ff3c1719e675855b065f42a22ff493f /scripts/gdb/linux/utils.py | |
parent | Merge tag 'hid-for-linus-2025021001' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-5e013ad206895e72d7da41bc1ae89d8cb499c3aa.tar.xz wireguard-linux-5e013ad206895e72d7da41bc1ae89d8cb499c3aa.zip |
HID: wacom: Remove static WACOM_PKGLEN_MAX limit
Rather than memcpy every packet that we receive from HID into our own
local fixed-size array, we can just access the data directly through
the original pointer. While we're at it, remove the few other places
that assume a fixed maximum packet size and make them dynamic (in
particular: temporary buffers created by the wacom_wac_queue_flush and
wacom_intuos_bt_process_data functions; and the pen_fifo FIFO).
To ensure pen_fifo allocation has access to the maximum used packet
length, this commit also moves the function call to occur a little
later in the probe process.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions