Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp963040pxp; Wed, 16 Mar 2022 22:47:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweLEZ94rI5quaOEtpgdKiN5wmtgw9JEzH1o98VRLRonrfr+6eCfM9x0hoxPuioAkFEFlSQ X-Received: by 2002:a05:6a02:105:b0:381:fd01:330f with SMTP id bg5-20020a056a02010500b00381fd01330fmr2297776pgb.483.1647496029286; Wed, 16 Mar 2022 22:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647496029; cv=none; d=google.com; s=arc-20160816; b=Rz4hYIDBt+uTbea8GMTHYgvwNBYJCqj4iNUXqWdvM4KWWPFg6svkGZz83nuXrruD54 DHmLn5UGVyfXpOAysnvcUJHGTo3hB4EerCnqmMLtc5FdLBRHw9pm2QNHT0H8xUuLF5aG xoMeGfEXXX8bWJ6Y7NNJ1l0qsDNrZB5wFqr+KuuAyTcyLgr0p4712vss7tJRnVpqlrzf UF3SPPjgJ0rF04mW8giNg1ZxpfZh5cN3wHkp7FiKhgcYfISk1AOmpNFw9KbTPhr87v2L Jrn1GR7WeoXyE/YTppOMdHKfRVVkWm4gGdlg/0ljqKU4EC85Sj6GOFONzTHwm2Psi4M7 fx3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=cBlak6pN238zp4DGqFZF8vUZZUFaoJjA+L53ZXmJ9xo=; b=XgqNfU1SvYYlvAwcU+lbCnHwdd51Gk4jUlswaZSMk/p0ffnlEZ9vUFQI1n0Z1VkDjN 6KjnCm0dYgboUpP5Y/t3aFRIZ2ojCe9RyRTAvkS2WGhF2LqIva4eJnkGdc3H6FpLkOsC PPlYn1zoy+qDWgZeEu6gX+E8crYZhUw0eAHNUuCwbezGe2YOLvyDf60DJ9ohG49rgW5r vQaQDkdQdb4/ejzb63uTdKRAQ5eBIEj5O67QTSuN3dXpB2I2JbRx8I49+iX/yN975ehL rhrb2ypaZF8Oa0s6w2FcVPsBo6npAxXsgs6YRF8RRJ4ulODmTQo97Wm+293IDHExUaM8 KS3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y1-20020a1709029b8100b0015182f9482esi3538330plp.63.2022.03.16.22.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:47:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 227C7ABF7A; Wed, 16 Mar 2022 21:42:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239448AbiCOJxg (ORCPT + 99 others); Tue, 15 Mar 2022 05:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346719AbiCOJxf (ORCPT ); Tue, 15 Mar 2022 05:53:35 -0400 Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D8264F45B for ; Tue, 15 Mar 2022 02:52:23 -0700 (PDT) X-QQ-mid: bizesmtp90t1647337913tmnd84bi Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 15 Mar 2022 17:51:39 +0800 (CST) X-QQ-SSF: 01400000002000D0H000B00A0000000 X-QQ-FEAT: Mzskoac49Oj6w5+UYV3oqZVb/U2XFB1ApMF8/taX6Z6lrTuuaioY7ytSdmbkA RnSbsPPRxP2MGLG/r9Qms0lb4Dk/N/g4WZ/E7ruIYLO4oFamswG7TA2elUUI2T0yOvAm87h 00SYyJ0G373WLSiVtbRw2nhLFEd4CVXMIGaV2j5nATfcMFYQQ1JmZ4xsmu8Jbh1CCYK8KJc rrU1E/6fJn8f0wbZrWSppRt6HhqQoxeNpZk7p3BcDJgqTypxEnnrVX20LzmhEliCnyFgKLl KYXr5/cskB/fGe+jLtoTyqQn/6v69Ggfzaw4YFPPy30szeR9D4+2oR68RwOAGdSFYTs4X+u n5UdiK5fJWkEbrCgXgM6rhc9s02k6/yGqviRNqO X-QQ-GoodBg: 2 From: Meng Tang To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: martin.blumenstingl@googlemail.com, linux-bluetooth@vger.kernel.org, Meng Tang Subject: [PATCH v3 2/2] Bluetooth: btrtl: btmrvl: Fix firmware filename for some rtl chipsets Date: Tue, 15 Mar 2022 17:51:29 +0800 Message-Id: <20220315095129.15254-2-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220315095129.15254-1-tangmeng@uniontech.com> References: <20220315095129.15254-1-tangmeng@uniontech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign7 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Firmware for rtl chipset is as part of the linux-firmware repository in dir linux-firmware/rtl_bt. Today, the rtl8761a_config, rtl8821a_config and rtl8723b_config files are used in btrtl, but it doesn't actually exist, which causes errors like: bluetooth: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2 According to the files in the rtl_bt directory in the Linux firmware, fixes the driver to load correct firmware file for rtl. Fixes: f96dbd322a8f1 (Bluetooth: btrtl: add MODULE_FIRMWARE declarations) Signed-off-by: Meng Tang --- drivers/bluetooth/btrtl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index 449858b65e8e..56cec18475f7 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -921,15 +921,12 @@ MODULE_VERSION(VERSION); MODULE_LICENSE("GPL"); MODULE_FIRMWARE("rtl_bt/rtl8723a_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8723b_fw.bin"); -MODULE_FIRMWARE("rtl_bt/rtl8723b_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8723bs_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8723bs_config-OBDA8723.bin"); MODULE_FIRMWARE("rtl_bt/rtl8723ds_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8723ds_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8761a_fw.bin"); -MODULE_FIRMWARE("rtl_bt/rtl8761a_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8821a_fw.bin"); -MODULE_FIRMWARE("rtl_bt/rtl8821a_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8822b_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8822b_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin"); -- 2.20.1