linux/drivers/hid/i2c-hid
Dmitry Torokhov 8399bd0102 HID: i2c-hid: define i2c_hid_read_register() and use it
Handling simple read of device registers in __i2c_hid_command() makes it
too complicated and the need of special handling for the HID descriptor
register adds even more complexity. Instead, let's create simple
i2c_hid_read_register() helper on base of i2c_hid_xfer() and use it.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-02-14 10:51:07 +01:00
..
i2c-hid-acpi.c HID: i2c-hid-of: Expose the touchscreen-inverted properties 2021-12-14 11:38:04 +01:00
i2c-hid-core.c HID: i2c-hid: define i2c_hid_read_register() and use it 2022-02-14 10:51:07 +01:00
i2c-hid-dmi-quirks.c HID: i2c-hid: add Vero K147 to descriptor override 2020-11-27 16:17:49 +01:00
i2c-hid-of-goodix.c HID: i2c-hid-of: Expose the touchscreen-inverted properties 2021-12-14 11:38:04 +01:00
i2c-hid-of.c HID: i2c-hid-of: Expose the touchscreen-inverted properties 2021-12-14 11:38:04 +01:00
i2c-hid.h HID: i2c-hid-of: Expose the touchscreen-inverted properties 2021-12-14 11:38:04 +01:00
Kconfig HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core 2021-01-18 16:56:22 +01:00
Makefile HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core 2021-01-18 16:56:22 +01:00