Commit 146af226 authored by mark-yw.chen's avatar mark-yw.chen Committed by Marcel Holtmann

Bluetooth: btusb: Fix fall-through warnings

Fix fall-through warnings:
drivers/bluetooth/btusb.c: In function ‘btusb_recv_acl_mtk’:
drivers/bluetooth/btusb.c:4033:3: warning:
this statement may fall through [-Wimplicit-fallthrough=]
 4033 |   usb_disable_autosuspend(data->udev);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btusb.c:4034:2: note: here
 4034 |  case 0x05ff:  /* Firmware debug logging 1 */
      |  ^~~~
Signed-off-by: default avatarmark-yw.chen <mark-yw.chen@mediatek.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 1804fdf6
...@@ -3008,6 +3008,7 @@ static int btusb_recv_acl_mtk(struct hci_dev *hdev, struct sk_buff *skb) ...@@ -3008,6 +3008,7 @@ static int btusb_recv_acl_mtk(struct hci_dev *hdev, struct sk_buff *skb)
* suspend and thus disable auto-suspend. * suspend and thus disable auto-suspend.
*/ */
usb_disable_autosuspend(data->udev); usb_disable_autosuspend(data->udev);
fallthrough;
case 0x05ff: /* Firmware debug logging 1 */ case 0x05ff: /* Firmware debug logging 1 */
case 0x05fe: /* Firmware debug logging 2 */ case 0x05fe: /* Firmware debug logging 2 */
return hci_recv_diag(hdev, skb); return hci_recv_diag(hdev, skb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment