HID: hid-steam: Avoid overwriting smoothing parameter
authorVicki Pfau <vi@endrift.com>
Wed, 20 Dec 2023 03:38:31 +0000 (19:38 -0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 2 Jan 2024 10:20:42 +0000 (11:20 +0100)
commit34281b4d916f167a6f77975380e1df07f06248b7
tree122d7c992f1324640c318e4a84c5f5f98ca57ee7
parent3f10e214a9de738832b357a58b605c2fbd23aa96
HID: hid-steam: Avoid overwriting smoothing parameter

The original implementation of this driver incorrectly guessed the function of
this register. It's not only unnecessary to write to this register for lizard
mode but actually counter-productive since it overwrites whatever previous
value was intentionally set, for example by Steam.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-steam.c