UPSTREAM: 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.

(cherry-picked from commit cf28aee292e102740e49f74385b4b89c00050763
("HID: steam: fix boot loop with bluetooth firmware"))
https://github.com/torvalds/linux/commit/cf28aee292e102740e49f74385b4b89c00050763

Bug: 136263708

Signed-off-by: Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Siarhei Vishniakou <svv@google.com>
Change-Id: I55b573d6db1bc336626ce4a6563255374da590ae
1 file changed