From patchwork Tue Feb 2 02:24:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zjp734690220@163.com X-Patchwork-Id: 12060507 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97B52C433DB for ; Tue, 2 Feb 2021 03:12:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6805B64E9C for ; Tue, 2 Feb 2021 03:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbhBBDMg (ORCPT ); Mon, 1 Feb 2021 22:12:36 -0500 Received: from m12-13.163.com ([220.181.12.13]:52247 "EHLO m12-13.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbhBBDMe (ORCPT ); Mon, 1 Feb 2021 22:12:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=Cji7oSzyKe67daVk01 PEDpKLrCo8AcrW98u7b54FyH4=; b=bwxuRgEvQxt+Fa8HJ2tDDSa/vrr1xuXOnj u1dcNOwz0J658M3fs7fYkLXg/nUdN22YqRTpv6pfmLKfKDAa0Wbu5nUowdUdDU5h jD6/cdGeyI488vaGb+M5D+3CuLiXNgYHdLEcm1byw35yuWykSuMTWVHNZONSrZQV g7P9JRum8= Received: from zhongjupeng.ccdomain.com (unknown [119.137.52.221]) by smtp9 (Coremail) with SMTP id DcCowADXxCnltxhgREHedQ--.124S2; Tue, 02 Feb 2021 10:24:39 +0800 (CST) From: zjp734690220@163.com To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Jupeng Zhong Subject: [PATCH v2] Bluetooth: btusb: Fix typo and correct the log print Date: Tue, 2 Feb 2021 10:24:43 +0800 Message-Id: <20210202022443.33228-1-zjp734690220@163.com> X-Mailer: git-send-email 2.15.0.windows.1 X-CM-TRANSID: DcCowADXxCnltxhgREHedQ--.124S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Jw1ktry7tw1xuF1UKr15Arb_yoWkWrg_u3 48ur1xXFy8CF1kCF12gwsFgry0k345ZFn7ur12q345uryqgr47AryUu3sYqFsxu3ZY9F92 kw15Wrs2kw1UGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0YsjUUUUUU== X-Originating-IP: [119.137.52.221] X-CM-SenderInfo: 52msljauwzijisq6il2tof0z/1tbiWActFFuHvbQ46wAAsg Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Jupeng Zhong Change "deivice" to "device" Correct "Unsupported support hardware variant (%08x)" to "Unsupported hardware variant (%08x)" Signed-off-by: Jupeng Zhong --- drivers/bluetooth/btusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index bc5abaa00be5..e1dbbed2230d 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -3465,7 +3465,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) @@ -3589,7 +3589,7 @@ static int btusb_mtk_setup(struct hci_dev *hdev) fwname = FIRMWARE_MT7668; break; default: - bt_dev_err(hdev, "Unsupported support hardware variant (%08x)", + bt_dev_err(hdev, "Unsupported hardware variant (%08x)", dev_id); return -ENODEV; }