diff options
author | Hans de Goede <[email protected]> | 2023-12-02 23:46:09 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-12-06 11:48:40 +0100 |
commit | 96d3098db835d58649b73a5788898bd7672a319b (patch) | |
tree | b828430a62c0efd8acdddd4c79c8b6afbc67c7dc /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f023605d1de6f150d9266747a2630f029956041f (diff) |
HID: i2c-hid: Split i2c_hid_hwreset() in start() and finish() functions
Split i2c_hid_hwreset() into:
i2c_hid_start_hwreset() which sends the PWR_ON and reset commands; and
i2c_hid_finish_hwreset() which actually waits for the reset to complete.
This is a preparation patch for removing the need for
I2C_HID_QUIRK_NO_IRQ_AFTER_RESET by making i2c-hid behave
more like Windows.
No functional changes intended.
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions