aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btbcm.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2019-11-14 16:01:18 +0100
committerMarcel Holtmann <marcel@holtmann.org>2019-11-15 09:06:38 +0100
commit3d44a6fd0775e6215e836423e27f8eedf8c871ea (patch)
treea41268f62af815b561cbc0708849cddb2e1aff81 /drivers/bluetooth/btbcm.c
parentMerge branch 'ARM-Enable-GENET-support-for-RPi-4' (diff)
downloadlinux-dev-3d44a6fd0775e6215e836423e27f8eedf8c871ea.tar.xz
linux-dev-3d44a6fd0775e6215e836423e27f8eedf8c871ea.zip
Bluetooth: btusb: fix PM leak in error case of setup
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>
Diffstat (limited to 'drivers/bluetooth/btbcm.c')
0 files changed, 0 insertions, 0 deletions