diff options
| author | Oliver Neukum <oneukum@suse.com> | 2019-11-14 16:01:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-12 11:22:43 +0100 |
| commit | 3620ab5bc3cbd3e88de7cbcdf665d5113bc13679 (patch) | |
| tree | 921e4ddba920ab65ec81826d0e30b11bf5c8245f /scripts | |
| parent | 015f0fd0fcc338513f80044add27fa46cf71d217 (diff) | |
Bluetooth: btusb: fix PM leak in error case of setup
commit 3d44a6fd0775e6215e836423e27f8eedf8c871ea upstream.
If setup() fails a reference for runtime PM has already
been taken. Proper use of the error handling in btusb_open()is needed.
You cannot just return.
Fixes: ace31982585a3 ("Bluetooth: btusb: Add setup callback for chip init on USB")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
