From patchwork Wed Feb 3 08:06:12 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: 12064211 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=unavailable 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 1F159C433E0 for ; Wed, 3 Feb 2021 12:25:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD9E064F96 for ; Wed, 3 Feb 2021 12:25:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234274AbhBCMZJ (ORCPT ); Wed, 3 Feb 2021 07:25:09 -0500 Received: from m12-14.163.com ([220.181.12.14]:49415 "EHLO m12-14.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbhBCMZI (ORCPT ); Wed, 3 Feb 2021 07:25:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=ZLt9b9zzfdToiBJj1R McWWmiemK2CuOhUaWdJukRiwM=; b=lOaluIUhjO3hlqtzAom2yBwCPvSssIDZw5 JI2fN1TQcHQr0h1jbsAMRc1PsLqa8QTv1QAcd7IPcNFKYHGQcRsN08lIkHuKmOPF OzWq/M/h6rziYC6x3HgbEkIxt6RmrVna7FKMbroAGNSpKiI782LGxpdMxzUC0G79 xrAvkKvaM= Received: from zhongjupeng.ccdomain.com (unknown [119.137.55.230]) by smtp10 (Coremail) with SMTP id DsCowACntYlrWRpgzhK0jA--.60S2; Wed, 03 Feb 2021 16:06:06 +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 v3] Bluetooth: btusb: Fix typo and correct the log print Date: Wed, 3 Feb 2021 16:06:12 +0800 Message-Id: <20210203080612.36904-1-zjp734690220@163.com> X-Mailer: git-send-email 2.15.0.windows.1 X-CM-TRANSID: DsCowACntYlrWRpgzhK0jA--.60S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7Jw1ktrWUtr4kXrW3Kr45ZFb_yoW8JF1rpF ZxCFy5Cry3JF47KF17J3yvyrW5Jan8ua42kFWUA3s8ZFW5t3y8CFn5JFZ8W34I9FZxWaya ya1DXrW8Ka1kJF7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jf0eQUUUUU= X-Originating-IP: [119.137.55.230] X-CM-SenderInfo: 52msljauwzijisq6il2tof0z/xtbBog8uFFaD+u63FgAAs3 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 --- v3: update bluetooth-next tree and regenerate the patch v2: correct the log print and update the patch From: and Signed-off-by: --- 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 b14102fba601..5064b1d79c79 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -3466,7 +3466,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) @@ -3590,7 +3590,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; }