]> git.itanic.dy.fi Git - linux-stable/commit
HID: i2c-hid: Fold i2c_hid_execute_reset() into i2c_hid_hwreset()
authorHans de Goede <hdegoede@redhat.com>
Sat, 2 Dec 2023 22:46:08 +0000 (23:46 +0100)
committerJiri Kosina <jkosina@suse.com>
Wed, 6 Dec 2023 10:48:39 +0000 (11:48 +0100)
commitf023605d1de6f150d9266747a2630f029956041f
treef9d77e9b93f62151cba68875a2ab2c411ad5c4df
parent1f342790ad3c2456e15351829ad5d8919cccc03f
HID: i2c-hid: Fold i2c_hid_execute_reset() into i2c_hid_hwreset()

i2c_hid_hwreset() is the only caller of i2c_hid_execute_reset(),
fold the latter into the former.

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 <dianders@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/i2c-hid/i2c-hid-core.c