From patchwork Thu Apr 13 18:07:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9679793 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 C53B7601C3 for ; Thu, 13 Apr 2017 18:07:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB6F42869E for ; Thu, 13 Apr 2017 18:07:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEFC8286A7; Thu, 13 Apr 2017 18:07:39 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 595B62869E for ; Thu, 13 Apr 2017 18:07:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755226AbdDMSHh (ORCPT ); Thu, 13 Apr 2017 14:07:37 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33330 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755416AbdDMSH3 (ORCPT ); Thu, 13 Apr 2017 14:07:29 -0400 Received: by mail-oi0-f68.google.com with SMTP id t63so13603995oih.0 for ; Thu, 13 Apr 2017 11:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=CGaJtfD7QFOkGG3IM268QA9uVUxGOmGkgM+jvivy0qM=; b=D+uISxr1briHvANvD9W+SELhqyiPKl6tybaZbLWJM52Zr8Vo5pWTYyuXE5UXXd/esR fu+v2GMknpoK6F9ciqljEJDLFY5ilvn/rPmHOWrI5FkbzNByVi0gcchserLVYB2WT4ph NDAZFfO26obbzsTkZwVemsgvt+SgL7af1bNltCQvETRsb1xqG9HMuylIgXXwtk/orAJ0 Q+olAVVQOzqDvIEcPh4GJloJpkJlrtWzuhP6ZZ/30SQ6siZWd+rAFqqq29mj4/3H99W8 nsEpFmFqYnJDceeBNzrsunzsCWxYLDg1mE03p1LhYLLNvcv4x5U+FYOhD525Vfbl24Vm NL3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=CGaJtfD7QFOkGG3IM268QA9uVUxGOmGkgM+jvivy0qM=; b=MEZvOuZw9oGJj0Hvt57VWgAtbNDMdi4jXvxiU0AIev1gwaB79xA8APyA/eYv4J37WN B/J9+iieO+k/THboXcywT0bNrEnWPwWmYgoSSTJL62MTu2ZeG3TDuvWPNgIv2umK5fxi ztj4YwC7/s4AOgTsy8hwMlYfkPIERnCFxEy4qgqu58xzHRqnRflnPxI+arlgBUjRskBs VRSG3v1r+4zkHYzDmxC4wLI0yCb95W0dnHBRE2Vq9I1MBQzDOAiD+ZMSX11CfEI2Ytao xjY+sAGsfFYYG6DGuXuGy5HkAZCAn9Cn7yJlTNBQEgEjRv++SbhfjEQSEol+3weWnAyy QEEw== X-Gm-Message-State: AN3rC/5Hwzx+zPwwuf94EUT9MR0Xg0oRfRDByNtEsCBaE4J3HzY6+DBF lzTHCEMrBz3kFg== X-Received: by 10.202.217.85 with SMTP id q82mr2638793oig.92.1492106848397; Thu, 13 Apr 2017 11:07:28 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id x54sm10897996otd.11.2017.04.13.11.07.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Apr 2017 11:07:27 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Yan-Hsuan Chuang , Larry Finger , Pkshih , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 14/19] rtlwifi: btcoex: 21a 2ant: let PTA circuit control the switch Date: Thu, 13 Apr 2017 13:07:05 -0500 Message-Id: <20170413180710.19953-15-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170413180710.19953-1-Larry.Finger@lwfinger.net> References: <20170413180710.19953-1-Larry.Finger@lwfinger.net> 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 From: Yan-Hsuan Chuang Register 0xcb4 determines if the PTA circuit can control the swtich Signed-off-by: Yan-Hsuan Chuang Signed-off-by: Larry Finger Cc: Pkshih Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c index 7b2fb62947da..6faa53ee821d 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c @@ -1109,7 +1109,6 @@ static void btc8821a2ant_set_ant_path(struct btc_coexist *btcoexist, btcoexist->btc_write_4byte(btcoexist, 0x4c, u4tmp); btcoexist->btc_write_4byte(btcoexist, 0x974, 0x3ff); - btcoexist->btc_write_1byte(btcoexist, 0xcb4, 0x77); if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) { /* tell firmware "antenna inverse" ==> WRONG firmware