[PATCH v1 1/2] Input: psmouse - Expanding the psmouse packet array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to the current design of PixArt touchpad hardware and FW, our
single packet data width needs 11 bytes/15 bytes to receive the complete
three-finger/four-finger data in absolute coordinate mode.
Obviously, it exceeds the design of the native driver, and we try to
extend the length of a single data packet to 16.

Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
---
 drivers/input/mouse/psmouse.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h
index 4d8acfe0d82a..b05c6fbae7e3 100644
--- a/drivers/input/mouse/psmouse.h
+++ b/drivers/input/mouse/psmouse.h
@@ -94,7 +94,7 @@ struct psmouse {
 	const char *vendor;
 	const char *name;
 	const struct psmouse_protocol *protocol;
-	unsigned char packet[8];
+	unsigned char packet[16];
 	unsigned char badbyte;
 	unsigned char pktcnt;
 	unsigned char pktsize;
-- 
2.43.0





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux