]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: btusb: Fix typo and correct the log print
authorJupeng Zhong <zhongjupeng@yulong.com>
Wed, 3 Feb 2021 14:28:46 +0000 (22:28 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Feb 2021 14:47:36 +0000 (15:47 +0100)
Change "deivice" to "device"

Correct "Unsupported support hardware variant (%08x)" to
"Unsupported hardware variant (%08x)"

Signed-off-by: Jupeng Zhong <zhongjupeng@yulong.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c

index 5a33fb6842a290d12c87825802e5877383e06e6f..dbd4eb444a1f9fecbe7aa1deb8b2958ec9c6fb42 100644 (file)
@@ -3631,7 +3631,7 @@ static int btusb_mtk_setup_firmware(struct hci_dev *hdev, const char *fwname)
        while (fw_size > 0) {
                dlen = min_t(int, 250, fw_size);
 
-               /* Tell deivice the position in sequence */
+               /* Tell device the position in sequence */
                if (fw_size - dlen <= 0)
                        flag = 3;
                else if (fw_size < fw->size - 30)
@@ -3790,7 +3790,7 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
                }
                goto done;
        default:
-               bt_dev_err(hdev, "Unsupported support hardware variant (%08x)",
+               bt_dev_err(hdev, "Unsupported hardware variant (%08x)",
                           dev_id);
                return -ENODEV;
        }