HID: hid-bigbenff: call hid_hw_stop() in case of error
authorHanno Zulla <kontakt@hanno.de>
Tue, 18 Feb 2020 11:38:34 +0000 (12:38 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 18 Feb 2020 13:43:48 +0000 (14:43 +0100)
commit976a54d0f4202cb412a3b1fc7f117e1d97db35f3
treec442d01135e1934f806f8e1d60f3804ed02cb5d1
parent789a2c250340666220fa74bc6c8f58497e3863b3
HID: hid-bigbenff: call hid_hw_stop() in case of error

It's required to call hid_hw_stop() once hid_hw_start() was called
previously, so error cases need to handle this. Also, hid_hw_close() is
not necessary during removal.

Signed-off-by: Hanno Zulla <kontakt@hanno.de>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-bigbenff.c