diff options
| author | 2022-01-17 23:26:20 -0800 | |
|---|---|---|
| committer | 2022-02-14 10:51:07 +0100 | |
| commit | b26fc3161b7874ae6300151e652d2d6a15f199f9 (patch) | |
| tree | 57f69e913db079b0b6e074d169720d922a3ee8b7 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | HID: i2c-hid: use "struct i2c_hid" as argument in most calls (diff) | |
| download | linux-dev-b26fc3161b7874ae6300151e652d2d6a15f199f9.tar.xz linux-dev-b26fc3161b7874ae6300151e652d2d6a15f199f9.zip | |
HID: i2c-hid: refactor reset command
"Reset" is the only command that needs to wait for interrupt from
the device before continuing, so let's factor our waiting logic from
__i2c_hid_command() to make it simpler.
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>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
