Message ID | 20210513230422.2991704-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | Bluetooth: btusb: Use firmware_request_nowarn | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=482151 ---Test result--- Test Summary: CheckPatch PASS 0.63 seconds GitLint PASS 0.11 seconds BuildKernel PASS 494.19 seconds TestRunner: Setup PASS 331.78 seconds TestRunner: l2cap-tester PASS 2.50 seconds TestRunner: bnep-tester PASS 1.81 seconds TestRunner: mgmt-tester PASS 25.58 seconds TestRunner: rfcomm-tester PASS 2.01 seconds TestRunner: sco-tester PASS 1.96 seconds TestRunner: smp-tester PASS 2.04 seconds TestRunner: userchan-tester PASS 1.85 seconds Details ############################## Test: CheckPatch - PASS - 0.63 seconds Run checkpatch.pl script with rule in .checkpatch.conf ############################## Test: GitLint - PASS - 0.11 seconds Run gitlint with rule in .gitlint ############################## Test: BuildKernel - PASS - 494.19 seconds Build Kernel with minimal configuration supports Bluetooth ############################## Test: TestRunner: Setup - PASS - 331.78 seconds Setup environment for running Test Runner ############################## Test: TestRunner: l2cap-tester - PASS - 2.50 seconds Run test-runner with l2cap-tester Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0 ############################## Test: TestRunner: bnep-tester - PASS - 1.81 seconds Run test-runner with bnep-tester Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0 ############################## Test: TestRunner: mgmt-tester - PASS - 25.58 seconds Run test-runner with mgmt-tester Total: 416, Passed: 403 (96.9%), Failed: 0, Not Run: 13 ############################## Test: TestRunner: rfcomm-tester - PASS - 2.01 seconds Run test-runner with rfcomm-tester Total: 9, Passed: 9 (100.0%), Failed: 0, Not Run: 0 ############################## Test: TestRunner: sco-tester - PASS - 1.96 seconds Run test-runner with sco-tester Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0 ############################## Test: TestRunner: smp-tester - PASS - 2.04 seconds Run test-runner with smp-tester Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0 ############################## Test: TestRunner: userchan-tester - PASS - 1.85 seconds Run test-runner with userchan-tester Total: 3, Passed: 3 (100.0%), Failed: 0, Not Run: 0 --- Regards, Linux Bluetooth
Hi Luiz, > This replaces the use of request_firmware to firmware_request_nowarn > when firmware is optional (firmware is already operational). > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > --- > drivers/bluetooth/btusb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 7f10693eabc6..7db68f443569 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2601,7 +2601,7 @@ static int btusb_intel_download_firmware_newgen(struct hci_dev *hdev, } btusb_setup_intel_newgen_get_fw_name(ver, fwname, sizeof(fwname), "sfi"); - err = request_firmware(&fw, fwname, &hdev->dev); + err = firmware_request_nowarn(&fw, fwname, &hdev->dev); if (err < 0) { if (!test_bit(BTUSB_BOOTLOADER, &data->flags)) { /* Firmware has already been loaded */ @@ -2771,7 +2771,7 @@ static int btusb_intel_download_firmware(struct hci_dev *hdev, return -EINVAL; } - err = request_firmware(&fw, fwname, &hdev->dev); + err = firmware_request_nowarn(&fw, fwname, &hdev->dev); if (err < 0) { if (!test_bit(BTUSB_BOOTLOADER, &data->flags)) { /* Firmware has already been loaded */