Message ID | 20191216170302.29543-37-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show
Return-Path: <SRS0=mHGl=2G=vger.kernel.org=linux-wireless-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 038C41580 for <patchwork-linux-wireless@patchwork.kernel.org>; Mon, 16 Dec 2019 17:09:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBC3F20726 for <patchwork-linux-wireless@patchwork.kernel.org>; Mon, 16 Dec 2019 17:09:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="Pp4eqeGn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbfLPRGs (ORCPT <rfc822;patchwork-linux-wireless@patchwork.kernel.org>); Mon, 16 Dec 2019 12:06:48 -0500 Received: from mail-dm6nam11on2045.outbound.protection.outlook.com ([40.107.223.45]:6092 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727717AbfLPRGr (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Mon, 16 Dec 2019 12:06:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y2aFV0b2iE+ffvgk5p/5PCEq6DeQxO4DjmEpkicD9Te20PEtRXj1l0lneRoq/rwYdx62DU6JIaVoBWbJnnMsuxud0wNEg5hWNHCT9g1XY6UogNZd2unUBOW9eukh77fz0mY3jmNJd+/sKYcF3GLVe29w12AlQnjACFvpzSCGEcIKvtSuBIXbhOZpnGJOCE0uDeSuKR5Ngion79ZVMAoAqEHdJPSYjzqKTSlfzivM91kXKuxs19MpblBsjJWRpmhTrwS8Y9gBSft1+Cfb6YgqfLBIJwCzVO2MGlco64uqErDW8mMcyZFUuQR+xn5vBL2kXR7TAPL6rDvRsYTYSj5XIA== 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:X-MS-Exchange-SenderADCheck; bh=NiwqIYI8P5k3+ifRaI0dZTotJIG9DHYZXl3NsSuZw8w=; b=DeJidyQP1NFGoKhPNXxjHqdlYZCTboItLgmU3n5Z7vZzY/5afwyunfnYkhYQqftaL6Vk1YTUncyG51vxdYEHEcND4BkEZ0ppBkPOi3/YNGO6vbyl5KpLwLwO7C/eIN2eIIAy7JCXFfYGbRFzYZQVsS1gfhPdUTcFDMfdr4PlrRIp56gPlNuXa1dghMw4GlyEarCRHA7MMGqEb3Wq3ESNypWcNIiTct1tBqy+fKin1Q85pMXvBcy/SJB+C9WF+9na9/fAcmRBFvQ00NIw2Yw8/NaTSbYp/CIhCLHr60bIqjNrDyysK6nLaJua2VQC5499If5bVcMdpQCYgp5+DsiDhg== 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=NiwqIYI8P5k3+ifRaI0dZTotJIG9DHYZXl3NsSuZw8w=; b=Pp4eqeGnbh2pUIeTOlkIFxb1h2bBLMSkje3+V9j2Fz95vj/+W7lEHtvbqsswzeGJrVUsYrDYcdmcZZBcwgv530lFMcK9nhVfI1g21Th0GfWnqTYFy/IZ5u0VKbOs/fRftNZDwOEnmwpopYy1U+1gij2fU37Iblz0AVm7y1rSFn8= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (10.255.180.22) by MN2PR11MB4445.namprd11.prod.outlook.com (52.135.37.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.18; Mon, 16 Dec 2019 17:06:40 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf%4]) with mapi id 15.20.2538.019; Mon, 16 Dec 2019 17:06:39 +0000 From: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <Jerome.Pouiller@silabs.com> To: "devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org> CC: "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "linux-kernel@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 36/55] staging: wfx: fix pm_mode timeout Thread-Topic: [PATCH 36/55] staging: wfx: fix pm_mode timeout Thread-Index: AQHVtDLKcxjSIwTc5kGd/Lrr+WZlcQ== Date: Mon, 16 Dec 2019 17:03:52 +0000 Message-ID: <20191216170302.29543-37-Jerome.Pouiller@silabs.com> References: <20191216170302.29543-1-Jerome.Pouiller@silabs.com> In-Reply-To: <20191216170302.29543-1-Jerome.Pouiller@silabs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; x-originating-ip: [37.71.187.125] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0efbac71-d6d3-41c9-e7e0-08d7824a5154 x-ms-traffictypediagnostic: MN2PR11MB4445: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: <MN2PR11MB444564E52789B940FABBB73E93510@MN2PR11MB4445.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 02530BD3AA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(39850400004)(396003)(136003)(189003)(199004)(110136005)(6486002)(107886003)(4744005)(36756003)(186003)(316002)(66946007)(54906003)(5660300002)(66574012)(66446008)(66556008)(85182001)(66476007)(76116006)(91956017)(64756008)(2616005)(6506007)(85202003)(2906002)(26005)(71200400001)(6512007)(4326008)(8936002)(81166006)(1076003)(478600001)(86362001)(81156014)(6666004)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR11MB4445;H:MN2PR11MB4063.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4LzpIhHC6PyR1JoyVtpAi7JCMCs8g/PSS4QDmQaXs6m+AILosp/LqF6WRF2I3EbqsUrI0/KBLEPug+LAeyEV5jrotgf25uZeQlJI81Qfr6mYSxlHtoE/1BdX45AGRSZTI5ZVOmQD8wVmblZb+DrksH7D6TId21UPgZP3oV0/MsO1cDsmNY9nRv+zzZtiYDrbGTk7ombYblhJqVNfDwRLiSJyg5Muw0QHn2K4VNR1SRvGh9SGfHy8d2B1GC8HwG3aqXZdgoyrSXFiYUk0hL95/mNvYB6XMAgAKO+f18M1CDw+ZhyNsyN4QQ37GmPNNt0ZQvqko/73J4DYgKsEu6WEWBY1uGsT//3S3w0KuyrZiklrUBkYdrXXzUTiU98bjSyh2YBorKC/Kj9TJY6h8FrKWEaKYwxnrnIZQaX5YLEnH+bKtONQUoQemYU85QfGzD4h Content-Type: text/plain; charset="utf-8" Content-ID: <1F229203E031D94CBAADB965D4BF1927@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0efbac71-d6d3-41c9-e7e0-08d7824a5154 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2019 17:03:52.1274 (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: gxPnuuiZCwY7Op2K3arhuvi+QmMZX1vK9JdwWxSlyDcpjMQRwf/+CV5lNTp3GaqEVN+IEjhsYE4IdnzMQoCQwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4445 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
Improve wfx driver
|
expand
|
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index dcb4693ec980..42b0d01d85cc 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -359,7 +359,7 @@ static int wfx_update_pm(struct wfx_vif *wvif) } if (!wait_for_completion_timeout(&wvif->set_pm_mode_complete, - msecs_to_jiffies(300))) + TU_TO_JIFFIES(512))) dev_warn(wvif->wdev->dev, "timeout while waiting of set_pm_mode_complete\n"); return hif_set_pm(wvif, &pm);