]> git.baikalelectronics.ru Git - kernel.git/commit
HID: i2c-hid: modify quirks for weida's devices
authorHungNien Chen <hn.chen@weidahitech.com>
Fri, 30 Aug 2019 07:58:30 +0000 (15:58 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 4 Sep 2019 12:30:35 +0000 (14:30 +0200)
commitc94260ed7762e74a1f276ac443ce4a68b41cb717
tree607808e63c7e25f1b5c969338b10200eb94bb2da
parentab6b053cb9f95aa6473200905a0d5895bb05847b
HID: i2c-hid: modify quirks for weida's devices

This 'SET_PWR_WAKEUP_DEV' quirk only works for weida's devices with pid
0xC300 & 0xC301. Some weida's devices with other pids also need this quirk
now. Use 'HID_ANY_ID' instead of 0xC300 to make all of weida's devices can be
fixed on the power on issue. This modification should be safe since devices
without power on issue will send the power on command only once.

Signed-off-by: HungNien Chen <hn.chen@weidahitech.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid-core.c