mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 23:47:04 +07:00
Merge branch 'for-5.1/hid-elan' into for-linus
This commit is contained in:
commit
3a69ae20cb
@ -393,7 +393,7 @@ static int elan_start_multitouch(struct hid_device *hdev)
|
|||||||
* This byte sequence will enable multitouch mode and disable
|
* This byte sequence will enable multitouch mode and disable
|
||||||
* mouse emulation
|
* mouse emulation
|
||||||
*/
|
*/
|
||||||
const unsigned char buf[] = { 0x0D, 0x00, 0x03, 0x21, 0x00 };
|
static const unsigned char buf[] = { 0x0D, 0x00, 0x03, 0x21, 0x00 };
|
||||||
unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL);
|
unsigned char *dmabuf = kmemdup(buf, sizeof(buf), GFP_KERNEL);
|
||||||
|
|
||||||
if (!dmabuf)
|
if (!dmabuf)
|
||||||
|
Loading…
Reference in New Issue
Block a user