From patchwork Tue Apr 3 14:52:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10321363 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 47DB060542 for ; Tue, 3 Apr 2018 14:53:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38580285A9 for ; Tue, 3 Apr 2018 14:53:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36335285FC; Tue, 3 Apr 2018 14:53:15 +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.9 required=2.0 tests=BAYES_00,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 DF2E228748 for ; Tue, 3 Apr 2018 14:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751642AbeDCOwr (ORCPT ); Tue, 3 Apr 2018 10:52:47 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52329 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751482AbeDCOwi (ORCPT ); Tue, 3 Apr 2018 10:52:38 -0400 Received: by mail-wm0-f68.google.com with SMTP id g8so10402887wmd.2 for ; Tue, 03 Apr 2018 07:52:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GLorm87NNBdduyjmVRF84FPPafdr80xUx4ksKtNvVeE=; b=sMSJvpvyDY8Y+DwOo+yjar4VI/94BeCfPT/+S/CdfRNDJ9NBhi4vFqBD72CgT+JfZb +lphLIJiI0H+KVi+prQV1mJJeqZvTBSyxAYh3v6YzzcZY0f1774qkTNRWN6VRatMcw8z 0ou2kyRKn9wqq0q1n9DP0ri/CeFQyFh5ZJTiRZodDdzPb6umRjXH1osScy34aOdo+81M uY2V6SVeOxLZb9yMn9VkHtXv8GkYQuUeEK6vqM4tOSPv/qrOSRKjdF0XCBO52JC6mLea xR4Ku7vH1L6tm9wmSBepts13112pVlN0CdvjPEqPMu9+vLzPoNLUQiaWEjBN+UZ9cFzZ E0Yg== X-Gm-Message-State: AElRT7HVbYxfuDYpeG/YdU3QpKA+PvR2HhDbhjSknEYnycvVVbyVjdXX Ru/Amm/47Vihi/hezTmDf64B8sITJ6c= X-Google-Smtp-Source: AIpwx48hClZO1xMhq75JJZt5KYrXgzAhkTRW383VnT2frv9sz+w1/gl8qyk+zsQ2c1Y/Mhg086EjxQ== X-Received: by 10.28.105.19 with SMTP id e19mr4754099wmc.3.1522767157066; Tue, 03 Apr 2018 07:52:37 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id s65sm1216699wms.26.2018.04.03.07.52.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Apr 2018 07:52:36 -0700 (PDT) From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org Subject: [PATCH] mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration Date: Tue, 3 Apr 2018 16:52:15 +0200 Message-Id: X-Mailer: git-send-email 2.14.3 In-Reply-To: References: 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 Remove unnecessary MT_TX_ALC_CFG_4 configuration since register value has already set to 0 on 5GHz band Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x2_phy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c b/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c index f28c55746cea..cbf185e9f707 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_phy.c @@ -294,7 +294,6 @@ mt76x2_phy_set_txpower_regs(struct mt76x2_dev *dev, enum nl80211_band band) } else { mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x383c023c); mt76_wr(dev, MT_TX1_RF_GAIN_CORR, 0x24282e28); - mt76_wr(dev, MT_TX_ALC_CFG_4, 0); } } }