Skip to content

Commit

Permalink
Bluetooth: btusb: mediatek: Add err code to btusb claim iso printout
Browse files Browse the repository at this point in the history
Add the error code to the message "Failed to claim iso
interface". That allows us to know which error case
usb_driver_claim_interface() hit.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information
Douglas Anderson authored and Luiz Augusto von Dentz committed Mar 25, 2025
1 parent 8fa649f commit 50bda84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,7 @@ static void btusb_mtk_claim_iso_intf(struct btusb_data *data)
device_unlock(&btmtk_data->isopkt_intf->dev);
if (err < 0) {
btmtk_data->isopkt_intf = NULL;
bt_dev_err(data->hdev, "Failed to claim iso interface");
bt_dev_err(data->hdev, "Failed to claim iso interface: %d", err);
return;
}

Expand Down

0 comments on commit 50bda84

Please sign in to comment.