HID: steam: fix boot loop with bluetooth firmware
authorRodrigo Rivas Costa <rodrigorivascosta@gmail.com>
Wed, 6 Feb 2019 21:27:54 +0000 (22:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 13 Feb 2019 23:04:25 +0000 (00:04 +0100)
commitcf28aee292e102740e49f74385b4b89c00050763
treeff5ea8d703932d8506511868582a943611bfd76d
parent13054abbaa4f1fd4e6f3b4b63439ec033b4c8035
HID: steam: fix boot loop with bluetooth firmware

There is a new firmware for the Steam Controller with support for BLE
connections. When using such a device with a wired connection, it
reboots itself every 10 seconds unless an application has opened it.

Doing hid_hw_open() unconditionally on probe fixes the issue, and the
code becomes simpler.

Signed-off-by: Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-steam.c