From patchwork Thu Jul 27 23:06:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 9867663 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 66E926038C for ; Thu, 27 Jul 2017 23:07:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A3B120001 for ; Thu, 27 Jul 2017 23:07:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E91B268AE; Thu, 27 Jul 2017 23:07:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE4F120001 for ; Thu, 27 Jul 2017 23:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751612AbdG0XHd (ORCPT ); Thu, 27 Jul 2017 19:07:33 -0400 Received: from mail-dm3nam03on0054.outbound.protection.outlook.com ([104.47.41.54]:14641 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751593AbdG0XH3 (ORCPT ); Thu, 27 Jul 2017 19:07:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantenna.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=N+Og033Aa7T+5DgywcpLy99INZNSMpMjjGDKIc4vlqc=; b=Cv+zXd0/M6u43qYV77bNzRSc/cP02tNFgRWXlG5NT345Z8LIhURH8+NFeiaFCA52IwkkPma0bfLwNi7hZohaWcLl7qiqC1Fjh9rQfpujtu8SwBsUVegPRp8uRjDQkKYjC3ge+EjNJ+4hPV/80Tx06SIsM2hDP7mSujacPsNtaIM= Received: from bars.quantenna.com (195.182.157.78) by BY2PR05MB1928.namprd05.prod.outlook.com (10.163.32.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1304.10; Thu, 27 Jul 2017 23:07:26 +0000 From: Sergey Matyukevich To: linux-wireless@vger.kernel.org Cc: Igor Mitsyanko , Avinash Patil , Sergey Matyukevich Subject: [PATCH v2 03/12] qtnfmac: add missing bus lock Date: Fri, 28 Jul 2017 02:06:45 +0300 Message-Id: <20170727230654.30850-4-sergey.matyukevich.os@quantenna.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170727230654.30850-1-sergey.matyukevich.os@quantenna.com> References: <20170727230654.30850-1-sergey.matyukevich.os@quantenna.com> MIME-Version: 1.0 X-Originating-IP: [195.182.157.78] X-ClientProxiedBy: MWHPR11CA0019.namprd11.prod.outlook.com (10.172.48.157) To BY2PR05MB1928.namprd05.prod.outlook.com (10.163.32.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1395eb13-8569-4070-388d-08d4d5444092 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254116)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR05MB1928; X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB1928; 3:gYs5aV5qaAGyLzuAYvBojJc4S0KbFmqZ/0IM00Ys9fJIQ88zcPqTE6dxx68Yg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L/LWwDFKk1xC3xpdCBtDMVOolw/AuX?= =?us-ascii?Q?dym7y3OD29lAG5Liw0sQviTvoWRPSsB2pmqAEpxAFbx4KzhXvXnuzhldOUQI?= =?us-ascii?Q?AGRQ7dsOOuujtzqro8KZv9o71d7MQLt1jxvcul9yH1R9JhcgKK2cMgex5/Z/?= =?us-ascii?Q?GAGOTCQy6Ei1+xEqW+TdFkWFMFqq8eo/VycCwgognuhORoPCRu4jj8UlYa6z?= =?us-ascii?Q?1OUyJEbUrxpiWsdS4zzgR0l0RNiREniLkuA/VwXQL54t1LuGiayRs27urPxU?= =?us-ascii?Q?07ml0HqHtaoR1B8uClFpy+5+GEzSFqaJPGGz78v3NYxlrbPSkISzVjjVSXoB?= =?us-ascii?Q?k4q4lmixmkfXb6kD2Cgydd3U2jnVkJq4hH6Ez/kwiCi+YxRItXBhYl6Z5Jhu?= =?us-ascii?Q?E6mKeQSwkTWP5e/lsN69oFgUpDD/xTgdSmgQhga8Udy13uRsXLEZgCwn6Z6s?= =?us-ascii?Q?4lc5YVCD7/5oXsP+WMx0Po2JawInpkMWubjPC0d6Mm2tNKX1O4H4RclFKtlz?= =?us-ascii?Q?8t5YNkw0iInwGmeIznmFVI9tuNBVe1BXc/+YO120yd8HOGAZv7EUdmduBzrs?= =?us-ascii?Q?+hqlsnvJVJifp1u6dNodHNq/qVjpzFTpfKH4m02/xMq4zTEi3zfeqOVo98rj?= =?us-ascii?Q?VxAftMdXmTsKD90F/6I3p2FEZpFSA4k5pDK7njiaDAgTHVX6JfNRbgrJw54w?= =?us-ascii?Q?67uN5t9w0fYSdYimjXGY4MUcNG/FmJLduGjhrMt7JdheCb2QeIRw58M8WXXN?= =?us-ascii?Q?0NSdGJu/mqyIkORbUhdvfCyvTUU1t9DdstrKMGTyQeWGUXowXVsP7b7gxXCf?= =?us-ascii?Q?zk=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB1928; 31:ltl4pZ2KludU00WW16YHIPHEgiKiXOiSQVZpL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QNQx11mIPMbBaQQjMsV0dG0538FEn/YVHtmLjWEI95ZACwDPhCoFc6VfZZ1tSSavSpD884cfNyjT7zsj0G3/3ZwGi+DUOTtJCd8gZvJE5O5iB37VcS4/0gE1I X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR05MB1928; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR05MB1928; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR05MB1928; 4:wvxVsRgbh5hJ3PJBlR+/CPCnnJNz/4QlLiIoRe3Lvg?= =?us-ascii?Q?CBz0o6F8TSmfzoB9lAvaLSQT9oAQ1dEmcyPJM7s5pYAf+JWv9zYLIuUK91CJ?= =?us-ascii?Q?Lp1G/EkqXekENgiRElkrE1e7pNDfjfaCYOiRXtlD4AvKCGjdW+//EUsn7kKq?= =?us-ascii?Q?KhXs7u/Mx9SGvrFeUE0RaqS3VVVBtFwbpm/Lbgdtj2xE0HY2RuvokiVf04q8?= =?us-ascii?Q?doE97PlyPqwQI+m7NsOU6ZISr3R8OzldK68I9ul1IFfRRMrt+U/910bM0P3S?= =?us-ascii?Q?QKXM3QkWv8l/B/Iv/YX3whDNeEI6R7bsYpKj77zVyDBrCuGzepUJk1YRMA82?= =?us-ascii?Q?ABsIQLRqgYhLnBXBFzBTWK9+oTRe2C1BVnq7bsZjK0x5wQkZ2qEiIj1H42fn?= =?us-ascii?Q?/uxg/H7tsvAnN7J/DJbG11wei6BChc2iUsS8/u5lLFuqKVq+O0/WiDF0u646?= =?us-ascii?Q?gy9DjD8emkq0P7LlUeTgb4EsDAc7qGeeIqO5THCWTNdXBYz5CtHPTLFPdAzO?= =?us-ascii?Q?AH2k2j6yv6Wl106VDCXpLzpRuupUx3a2n/itcMEGjhWHISqKV3GKsEr2gTQB?= =?us-ascii?Q?Vd6Dp2zH/JQmkXJK382Meix0r1uRuSyfq+O5L4lINX+wxZXdEIPzlPnPsx6e?= =?us-ascii?Q?zTe0TijOy8KgtCPWR/80hNpX4NzNy6vn/Z2GhV8Sv1HwRTLzP0i3+6F5DP25?= =?us-ascii?Q?WV8GYvzO4Rfax2fgwJt8g7wtqSj+bxT4MyVw/n3xEPoPxuOh0ZbegsKqzYTf?= =?us-ascii?Q?Pmc5n/2Y2fWOC4l3RcOxGtgUmWgGNSb00xcqh1K8yaIyXFoZ1XUZT+mTcVt0?= =?us-ascii?Q?8ddz15drHUL+tgzH0/HZUsDfhAFqNtuzJGJw112Li1cD9HlAo6IP6tB0sxmz?= =?us-ascii?Q?/nCqvKz9DP3cki9kVT1QOr6whARoj2IRPk3wFfS/fvAfvMijsooD/HpCXEzZ?= =?us-ascii?Q?Jn3TX+4Us4Xtfkzy60mdQOGxihT1zMGxWN6HiRjbZIBlJyUoaGcm6jmYKrsg?= =?us-ascii?Q?Y9pxGlE3T9hczths3V3Z1JF125MT99h4UxMC7xRvm4Grbsim83uj2go+n4LY?= =?us-ascii?Q?wDF7L66TNTbFr4YMrk9zPjxBeRWi0zD3tszR3D84c3zwFgIoPITszNjL5NT0?= =?us-ascii?Q?oFSqzYQSBMjpg7MmbdB9JTTGBc271I?= X-Forefront-PRVS: 03818C953D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39450400003)(39830400002)(39400400002)(39410400002)(199003)(189002)(50226002)(66066001)(86362001)(110136004)(53936002)(107886003)(50986999)(38730400002)(4326008)(68736007)(50466002)(305945005)(7736002)(6916009)(2950100002)(76176999)(25786009)(478600001)(1076002)(6116002)(54906002)(6666003)(6486002)(101416001)(69596002)(3846002)(189998001)(103116003)(7350300001)(2906002)(5003940100001)(97736004)(5660300001)(105586002)(2351001)(48376002)(81156014)(81166006)(8676002)(2361001)(53416004)(36756003)(106356001)(42186005)(47776003)(33646002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR05MB1928; H:bars.quantenna.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: quantenna.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=sergey.matyukevich.os@quantenna.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR05MB1928; 23:5fW5+u7jmYE1YT+bdTjBsxoLyQiuJczDzlh8Zm6NY?= =?us-ascii?Q?wqHEwjWFGM7dKTsAvYhOLK46ZIS4FtXT1GX04H+IIxJdPId7798uUefe3kiY?= =?us-ascii?Q?FKerXZUZzYyZiVH6NXJW2aT392l3ydRViT+iPbVL/CAc0uLrrtbG9t436TiY?= =?us-ascii?Q?5R2ijnkXuahiUaJbLauU41BlpmUiykPYCaAeoxvqgbkHI8/7owMtkNjiKG6W?= =?us-ascii?Q?+mTkJHgJDtCzaPiHC/3CH0s/tuhCFz4SVct2+oMEmSBsAB4FsimJ/NgNO34t?= =?us-ascii?Q?Xd9mqk2Qsh7SZCcOpG/RVT6IesUrqSThOXOshgV0Fny7/+xWqoLnkSvfn/Vr?= =?us-ascii?Q?hTpXXBmhoYZP2kTwGdut6pCyZSqPO4Jer9yKo/0l+ku5DHnpEdhih4lFYkM6?= =?us-ascii?Q?EltPn/yDadI3wRpk6sSq32oRsxYCP+X72RXjN1irCpAIWVWgnBzDMazEIUhY?= =?us-ascii?Q?w8HDHPXq3A15JVFuW38QBzZr1dQAE56YbpvaCzIE0xGl08VSs4WzN7Zjk7p2?= =?us-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5BGX?= =?us-ascii?Q?E0cgIQ6ZeLox8pStGtLZSHTLqFLrlkVBe/k8OYiasSy9lCHZz/Q2diVxZhc/?= =?us-ascii?Q?AEwZmH3ECEjChyxTqRkRa76YemiIYlmLL/vu4Fp5pJYZifsUj2mLV6LLw2lQ?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB1928; 5:frtYEQk70dPR6dzKDdglTKP6YoFLgkaqvubEWY3vtgqlP04NORYHkjfybuiHbeTXhVhuxuanK3lnBxz2JkN8jklpgajoPUSpQiGkzDcJ/2QHB4kvgv2Svi/pHD1rHmTdmMzEVDdmN757STOyr+N53ciI63HCGYqT7N+9uKzDOAKtyuoTlAoL9+V6XhIBju5gxz4tnfh+z/ZkPcwEbI2bxMg7rJ6VRkTWd6moLwgLcRxZ7pnmP6QOncw85KxzI7fR8nTPB5J8NIZGKM92zGRKrHRBwwBkbO3fVB+QZac/uoD4cXsnInXv3sRRgq56yEL999ORZgUV5PZ+7UYpHMRuVwzDVZBvk2h7YFlxj5oxKovXhLk+ssVR6fievf5XRM1G4AOzL4dpQ5HQFi8DL3as1b1RJE5bTN8TVwhYUDc9UMulT9H1R9/OicmX+FmNaifCq5nLjfdOj+qVu9JyZb7DLUkwBva4l86MNRu8k0DEuj55FGl8zqQa8skWgjUUB+p5; 24:wVfvlTz77rT/qhhIgukcES5JfIZuE4BxSLBu760jOhoR9F/6hJCxyjQehD0q3KIOYK9mCy9UhSZYTpH6l7kEaxbMYms0X4mgjT3lBUwAA9w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB1928; 7:SogRfhnlj7pEhjdGqeNaHhd55YP4DqHhooi68SMSLQ6xF/4RBx53DwUu3jFhNRWhdJkasuk0KGNenEM87Qy6TRwNCaZeM10oPMUQvdclZcPOSLTqTaOv1obeVeXmVvMkXNW1H51IMGLzE4u2/je56a1D5/fV+k5c1PF9slaHEK3pVAIpoyjNvgAApMiyBPD8SuDxw5O5PTo3FMk6aCVFOyFv670mXVcTujuoxXTo51nLCqlUKtjJSjvT1ZrOrZ0l2jmen+3/s8BWWlCpVUAtTypgIdWkg9fBLBD/mc5Ij6e6INlJTUeYRaSrYQVDkRsRHYoXonu/qzRo4YWnMSEfYKNgVQXyrcYEYgw4gT8MW69uAMjY2TuCH/cBSY8yJFBmI57j8zjAoIXrWUEkfaxsDNMVOun4bumX2oCgbpSgy9cNEfUrzVG7Pe+IMi7rDlVZg/4yVyEBKT3Pl907k9wgx3lUe9grjGgKSPBpLVqxigwCAh2Q8FwA1RxNHlVxfAumHwtZDxiI7ZWWaOserrVjWn/vkehOjC5JYxB6S1j7p6pJP468lPY7lrVgwTuM8wSmhe9aP9F7f2QphLCHgdM2nYJcfquDonzHkxOwTZf3ofHCWhjbfxd8HEhHkjEBlyXY888MMPiNImJdx81LWIuXlpNC4YS8pUw9MCBvITpSs3sG8nskapowPMHBI8AIWZtorA0y5jfP/qrB3xA7rxMfvfk0V8m1pxh2IiLdnLjEN/wGcKABoD6rrBWUhzTqI6UvqhXu+ZN19sXGDano7tk4m0fd+GSDS9zHfo/CLFpQagk= X-OriginatorOrg: quantenna.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2017 23:07:26.5461 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB1928 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing bus lock into get_mac_chan_info command. Signed-off-by: Igor Mitsyanko Signed-off-by: Sergey Matyukevich Signed-off-by: Avinash Patil --- drivers/net/wireless/quantenna/qtnfmac/commands.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/quantenna/qtnfmac/commands.c b/drivers/net/wireless/quantenna/qtnfmac/commands.c index 8be96f02888f..f5a294f3c2a4 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/commands.c +++ b/drivers/net/wireless/quantenna/qtnfmac/commands.c @@ -1442,6 +1442,9 @@ int qtnf_cmd_get_mac_chan_info(struct qtnf_wmac *mac, cmd = (struct qlink_cmd_chans_info_get *)cmd_skb->data; cmd->band = qband; + + qtnf_bus_lock(mac->bus); + ret = qtnf_cmd_send_with_reply(mac->bus, cmd_skb, &resp_skb, &res_code, sizeof(*resp), &info_len); @@ -1465,6 +1468,7 @@ int qtnf_cmd_get_mac_chan_info(struct qtnf_wmac *mac, ret = qtnf_cmd_resp_fill_channels_info(band, resp, info_len); out: + qtnf_bus_unlock(mac->bus); consume_skb(resp_skb); return ret;