diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index c27aa39d9be99d..3c9d06c0734bf7 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -4068,6 +4068,9 @@ static int btusb_suspend(struct usb_interface *intf, pm_message_t message) BT_DBG("intf %p", intf); + if (!data) + return -ENODEV; + /* Don't auto-suspend if there are connections; external suspend calls * shall never fail. */