diff options
author | Rodrigo Rivas Costa <rodrigorivascosta@gmail.com> | 2020-01-07 22:48:13 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-01-09 12:57:41 +0300 |
commit | 20eee6e5af35d9586774e80b6e0b1850e7cc9899 (patch) | |
tree | 97cfd31af36d37f71151e82f2d84c7e6bafeafba /drivers/hid/wacom_sys.c | |
parent | 1479a82d82df68dfac29c72c774cb8bdc17d4eb1 (diff) | |
download | linux-20eee6e5af35d9586774e80b6e0b1850e7cc9899.tar.xz |
HID: steam: Fix input device disappearing
The `connected` value for wired devices was not properly initialized,
it must be set to `true` upon creation, because wired devices do not
generate connection events.
When a raw client (the Steam Client) uses the device, the input device
is destroyed. Then, when the raw client finishes, it must be recreated.
But since the `connected` variable was false this never happended.
Signed-off-by: Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
0 files changed, 0 insertions, 0 deletions