diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2013-09-11 21:56:59 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-13 15:15:11 +0200 |
commit | 0ccdd9e7476680c16113131264ad6597bd10299d (patch) | |
tree | 62fd49b0ee3ba38eed79d97fc54762b6da77024b /drivers/gpio/gpio-ich.c | |
parent | 8821f5dc187bdf16cfb32ef5aa8c3035273fa79a (diff) | |
download | op-kernel-dev-0ccdd9e7476680c16113131264ad6597bd10299d.zip op-kernel-dev-0ccdd9e7476680c16113131264ad6597bd10299d.tar.gz |
HID: lenovo-tpkbd: fix leak if tpkbd_probe_tp fails
If tpkbd_probe_tp() bails out, the probe() function return an error,
but hid_hw_stop() is never called.
fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1003998
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
0 files changed, 0 insertions, 0 deletions