Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: increase struct ps2dev cmdbuf[] to 8 bytes

Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs
this larger cmdbuf[] to handle 8-byte packet responses.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Kamal Mostafa and committed by
Dmitry Torokhov
80524f08 02295e68

+1 -1
+1 -1
include/linux/libps2.h
··· 36 36 wait_queue_head_t wait; 37 37 38 38 unsigned long flags; 39 - unsigned char cmdbuf[6]; 39 + unsigned char cmdbuf[8]; 40 40 unsigned char cmdcnt; 41 41 unsigned char nak; 42 42 };