提交 80524f08 编写于 作者: K Kamal Mostafa 提交者: Dmitry Torokhov

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: NKamal Mostafa <kamal@canonical.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 02295e68
...@@ -36,7 +36,7 @@ struct ps2dev { ...@@ -36,7 +36,7 @@ struct ps2dev {
wait_queue_head_t wait; wait_queue_head_t wait;
unsigned long flags; unsigned long flags;
unsigned char cmdbuf[6]; unsigned char cmdbuf[8];
unsigned char cmdcnt; unsigned char cmdcnt;
unsigned char nak; unsigned char nak;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册