Message ID | 20210913130203.1903622-12-Jerome.Pouiller@silabs.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <netdev-owner@kernel.org> 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, 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 CE668C433F5 for <netdev@archiver.kernel.org>; Mon, 13 Sep 2021 13:03:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B6DD960FA0 for <netdev@archiver.kernel.org>; Mon, 13 Sep 2021 13:03:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240126AbhIMNEs (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 13 Sep 2021 09:04:48 -0400 Received: from mail-mw2nam12on2088.outbound.protection.outlook.com ([40.107.244.88]:10209 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240063AbhIMNEU (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 13 Sep 2021 09:04:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WKoPPU2D7lNsKjZ6sFcDqZ2ljt6n3wkz7ka0t78zFEA78d8TQMothGUnIES2ePNuvFvHsvskCf2L3e0hFNu+skLF9VjpAz0NxEJHRiucl7jI0M87xjAborsmJ3KxdeyZYDxCHzK1TXThdoV5SvjCX6AVUOyzNDi/wu3TqvudQgNfDYhhxhKGVgdYiYUzCv9IVU21V/F/m/6HeMU+gFgzw6ss4a8IHf8eC4axoEtItT4DlQn5DXi9Q/zAVi44FjRcSY+hRUh24R/NqeYvHZgIPoWkzthjz0+qCFyfUd/BlHoWqmZR1Qq1Bq5p0f9JjUvgMtBpqNP3tS0bj7d4/3wHPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sKQTsgOm6zR+8zh/irGIoz0XeG7P1LWn4tiUm/Vkbw4=; b=OEMGBSMeuKh2CTGBqat30mOy28NVzLkPlkMPu0Z2z5RBkmApD3d6SJLXuuaYk7vZn1JU+tQGMZ0Ql4KETmN2LclV9SfRcHfdeHff5kEoh2klX8QSP+TzgYDnngu9lIgS1ZL/NLI/zYUtq0Jzppixta53fxrb4JjbBaH9m8I7fz2/GoiD/izyHhpzaId1oZ4vjXdbJNGZp1blQRi6jmgWTP+7q4lPSEUOtp1el+gDaRV+wyVLsGRLqPcd1Fln8jJSL97rI6OJG/uAYtErGLPvBlpRsjPrd/bXLnGCMKeWuoHObDDlwQeLQWmGpe4GGXTjYw5wn7qH9n6Kt5mgNial1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sKQTsgOm6zR+8zh/irGIoz0XeG7P1LWn4tiUm/Vkbw4=; b=EByOyinXQ2HDhjA2dsEOWNo2toKFl0oLWNp7qNw9FlPmwN37RfZhIsxqF0rTn8EkiwRKSZykizlnCoIYT3TWUVaCJqAXD60eEzVcGnhKR2fZqz0W9z+6BaXugxQNZFZbRjt2Mhlh8/8W3mzHjKiRArac42xoi68XSoCIQaHdG3Y= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none; driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SA2PR11MB4860.namprd11.prod.outlook.com (2603:10b6:806:11b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 13:02:38 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Mon, 13 Sep 2021 13:02:38 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH v3 11/32] staging: wfx: relax the PDS existence constraint Date: Mon, 13 Sep 2021 15:01:42 +0200 Message-Id: <20210913130203.1903622-12-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> References: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 13:02:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a083e9e2-e4c4-430f-3b1c-08d976b6c2fd X-MS-TrafficTypeDiagnostic: SA2PR11MB4860: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SA2PR11MB4860864B1B1C5F0AE25BA4AD93D99@SA2PR11MB4860.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2150; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: B2vXlpBWiEi7LrNboItKNu87ptkqV/7bW2lF083XlhPHmzypiDDzaMyGBQLzc1f6S6+47WyWSkGvztS5DxTspwd51nY6dm0QRTvFpIfKSbmj/1kXhrncvO0pVbnrhTw3oh7nit1aeqobC1H8zAmwXmVw5OPhLVmIfE41+I+4ZXk3WJD3ooDF33icF0Z8Tu/5fhyAz2a8ADRrQjHe3XDZXXNo9IXjNUAzZnQuNwMlpkwEqk3HMkvnto7Ov/bAPUZd1S9VaTNJsDCsPShA/Yk+W3kwVs3GGXm50Abl/6iPc8tKP915HRfbGgCzgwucbjn11Bo9DZi8IZVeVy28M1HKL+Ki/x2qJ8Pii6YFUDHI1m5gXxM0K9lq9H811M74AL5IpZ6r/506WPUqfNrmSi7yXdrEaHXQDXaRjK2Dv6rnBoy1Hmo/YhpGfQR2+0Cb2lI+OI6IGsDJiaJvm1He8q1g2qKeej6CmAF1JuKlM0FAwGFanGXuRF6JdLXhZ7hYlXGUFDYU9kUQbxCs26qZLYkR9do0FMn7/36g4Of5PNrBb3lzSJ8Q6sb8yBa93Yl9u4lmniMBmwd8vKYez9J3KLOCuAxhrlij/81ydn4bzxQSA0GhSo055XBuy28H+0UO1ios0vzW8ZVlQuMSWlQavgKMb8VzPHFmFVkhyy8hLXS8yDN89Hcam0n17eraG/ip0/43s6oQhoKubGVp3bfKLvTqxw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2718.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(956004)(66574015)(6666004)(66946007)(2616005)(26005)(36756003)(38100700002)(38350700002)(316002)(4326008)(107886003)(7696005)(54906003)(5660300002)(52116002)(66556008)(1076003)(66476007)(6486002)(508600001)(8936002)(83380400001)(86362001)(2906002)(8676002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1ZzZX2aBYqICFx8uh4brp6uIb?= =?utf-8?q?kmNnJAKitH18bpybCsY7fX+PnD4Q/hjmWO6oeyStsniNmO2E7VV7GWJo?= =?utf-8?q?ymm1H+NUzcZ4pHbvDhu+QkrUeYW0/Gfx6SbIbhsO0K2PQMYBXblspo1L?= =?utf-8?q?JMAzh2GXVg50Lo+FbYfNJBUnDXrY8+3Xas1jxkpNek0pOofgFjTCpzUz?= =?utf-8?q?cCgBSYqMsHgPqtCSlIoho6LQVGFoikBcU+KAXjJLBulz6txY4VRQaQ6X?= =?utf-8?q?FKCcCfzgaLJEoG8Z9+PalFlu6oUBcY3pTpdiMSmhGN1aKZ5u5vKGjcct?= =?utf-8?q?VSdj+mgXEIbQ5Smqgtu3UALNiTiUbO+R68dOcmNdJM2O1BTWS1rVmUFI?= =?utf-8?q?E2SVke66CVli5IppOkzqwqUb+ZuwDG2Rgcmfi+VQOQC8SGDbGPf+vBID?= =?utf-8?q?2qO/EvHlYctId0HpAXq/QC4e950WvTAD3WH9vMKQsI/wLlIKMhtsJm24?= =?utf-8?q?rNAuijH7Mx8UhBsrP6WpYt2q5zdXGC6jxvb4veuqAeFmPgThGTljzTMu?= =?utf-8?q?L5A/ZU6mW0i5xU8jOECTdqGP0hOnLo9rqQytWx6b83xtUiYO2NYR033G?= =?utf-8?q?p/U1mnxQ9771h5KjrjpC/zXd8Ddyjeg6fn8H82YKwzA3pl3T+bVaEen1?= =?utf-8?q?G82XD66MDWY8UqvkVMPplFQISxgTH6GTAPe3KUnFoEXczqSELO+sd5y2?= =?utf-8?q?iaLMuSlCwU8YlGcycYuxV7cVzDciHUApIagbeaUKzGXN+UiPt1tmf8Sm?= =?utf-8?q?CltM+owXCAJ/WwG+TRhYel/R73d4sLj2Z0OC8nUFG5gT/H2+oWz7TsRL?= =?utf-8?q?Zl7HHoMk7HYCXUSnF0+SAo6p2WhePMCBZnz5WqY6mDs88J/p0gHqaI1k?= =?utf-8?q?DEMEUW0/Zxc1Y2BJXeii4Zw77Tacnxa9nIOMnXKukaZvFhWHyH4/D9JL?= =?utf-8?q?sN3rC901BS1YkI2UoFa/7fXZOijx5GrgfmI7I5xK2lP3BNC1MVCrLt8+?= =?utf-8?q?a6wVLgHWAmTAuvssW7vw0+zXH8f5vIz4qS9Ol6tq59tbdj8+pWge3bgT?= =?utf-8?q?qD5UE201DGQ5byg82Sq5xp6C2juyBtnFC2oP4kuYJx3xPneOa3EUUCTn?= =?utf-8?q?sOvepWBQf9Z0+SmOhR8onhmAj45TZjLT0zLPNBgoDxyHTUhl1hZrbXvg?= =?utf-8?q?lRNPcRlVWZ6F+hLB1qJkRmJyQROrZLB0HiDjD3ES9E0+gN1J5JFvIB0p?= =?utf-8?q?9LoPjG5mQvyexyXbzvJKkKtXrKavuaajfaolEfERD9mJuPdnVUBayaBo?= =?utf-8?q?ddG2HBdMvlgN/N/qlS5wAKsNOFOkX0xTvrUStlR1KdFOT/nAslTWPYJu?= =?utf-8?q?n4LCY81h2KCCiaqVDpBUB+GjKgvUmUk?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: a083e9e2-e4c4-430f-3b1c-08d976b6c2fd X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 13:02:37.8256 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4p4TpeOf3DWVkt/v7wkTtTSxl6fA09XB5RoGSyQ+8jj48bYL0Feo2pByAx+YOFwbAl/fi1nWqrOO7hnV3ZN3Fw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4860 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
staging/wfx: usual maintenance
|
expand
|
diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c index 0a9d02d1af2f..2a759f3554c9 100644 --- a/drivers/staging/wfx/main.c +++ b/drivers/staging/wfx/main.c @@ -220,7 +220,7 @@ static int wfx_send_pdata_pds(struct wfx_dev *wdev) ret = request_firmware(&pds, wdev->pdata.file_pds, wdev->dev); if (ret) { - dev_err(wdev->dev, "can't load PDS file %s\n", + dev_err(wdev->dev, "can't load antenna parameters (PDS file %s). The device may be unstable.\n", wdev->pdata.file_pds); goto err1; } @@ -396,7 +396,7 @@ int wfx_probe(struct wfx_dev *wdev) dev_dbg(wdev->dev, "sending configuration file %s\n", wdev->pdata.file_pds); err = wfx_send_pdata_pds(wdev); - if (err < 0) + if (err < 0 && err != -ENOENT) goto err0; wdev->poll_irq = false;