Message ID | 20150118051054.31866.79113.stgit@114-36-241-182.dynamic.hinet.net |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDV7F4FB6UKRB3UA5WSQKGQEYMT5F5Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E0AA240BA for <linaro@patches.linaro.org>; Sun, 18 Jan 2015 05:11:11 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id t10sf13532892eei.2 for <linaro@patches.linaro.org>; Sat, 17 Jan 2015 21:11:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:subject:from:to:cc:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Nt/iwmFhMlyPKdOVUkOUN4FmoPZZMENt/Ds/ebEmlSw=; b=QlWfR7gvaas6V7oAe6dt2vbMCmz5iiKbfcOgHPw/2mpb0U49BuNy5P1bOUHjvQGg7a 6e1FELmP7eMdEhHF6hValg/Z93ZIYCsz/B/Y7TuhnLimNvrXv1T+wx/AMjpVLr051RXo qMfEJLLDJR0Pf9exYiZOwn7+xkmVOETlQnGJtl7LvvEwox8HeV8hOrnjj4ictab8mEHJ iwj9RUmQxp+C1bNUMCYxxLqquSCOSa+qh3cqzDPEGpV/gSux4Fz1VqYw+eFxU6YxlYwp df99fYK5Jz1mEZbAxF6sS7lJHG00WourXvZeiSQyMrHDQlO9i7qLtukqHiSolXyz59a+ 59TA== X-Gm-Message-State: ALoCoQnNP2bsGS3m/dVLbMUBiX/WQG9UGRUUIUR+W6b0afUZqSRJy3s29XAMlq8F+Iq53HIYGfu+ X-Received: by 10.152.42.196 with SMTP id q4mr2122lal.6.1421557870224; Sat, 17 Jan 2015 21:11:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.225 with SMTP id i1ls485639lae.19.gmail; Sat, 17 Jan 2015 21:11:09 -0800 (PST) X-Received: by 10.152.238.1 with SMTP id vg1mr23594243lac.83.1421557869733; Sat, 17 Jan 2015 21:11:09 -0800 (PST) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com. [2a00:1450:4010:c03::235]) by mx.google.com with ESMTPS id w6si8653654laa.37.2015.01.17.21.11.09 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 Jan 2015 21:11:09 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) client-ip=2a00:1450:4010:c03::235; Received: by mail-la0-f53.google.com with SMTP id gm9so24336440lab.12 for <patchwork-forward@linaro.org>; Sat, 17 Jan 2015 21:11:09 -0800 (PST) X-Received: by 10.112.14.6 with SMTP id l6mr23568801lbc.91.1421557869583; Sat, 17 Jan 2015 21:11:09 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp740453lbb; Sat, 17 Jan 2015 21:11:08 -0800 (PST) X-Received: by 10.68.91.163 with SMTP id cf3mr9127356pbb.99.1421557867855; Sat, 17 Jan 2015 21:11:07 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gs7si9726728pbc.99.2015.01.17.21.11.07; Sat, 17 Jan 2015 21:11:07 -0800 (PST) Received-SPF: none (google.com: netdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751938AbbARFLE (ORCPT <rfc822;anders.roxell@linaro.org> + 3 others); Sun, 18 Jan 2015 00:11:04 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:51765 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbbARFLA (ORCPT <rfc822;netdev@vger.kernel.org>); Sun, 18 Jan 2015 00:11:00 -0500 Received: by mail-pa0-f44.google.com with SMTP id et14so32085841pad.3; Sat, 17 Jan 2015 21:10:59 -0800 (PST) X-Received: by 10.70.15.196 with SMTP id z4mr25579735pdc.20.1421557859882; Sat, 17 Jan 2015 21:10:59 -0800 (PST) Received: from warmcat.com (114-36-241-182.dynamic.hinet.net. [114.36.241.182]) by mx.google.com with ESMTPSA id c6sm6547922pdp.60.2015.01.17.21.10.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Jan 2015 21:10:58 -0800 (PST) Subject: [PATCH 3/7] net: wireless: wcn36xx: use 3680 dxe regs for 3620 From: Andy Green <andy.green@linaro.org> To: Kalle Valo <kvalo@codeaurora.org>, Eugene Krasnikov <k.eugene.e@gmail.com> Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Date: Sun, 18 Jan 2015 13:10:54 +0800 Message-ID: <20150118051054.31866.79113.stgit@114-36-241-182.dynamic.hinet.net> In-Reply-To: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> References: <20150118050741.31866.36490.stgit@114-36-241-182.dynamic.hinet.net> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: netdev@vger.kernel.org X-Original-Sender: andy.green@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@ Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/net/wireless/ath/wcn36xx/dxe.c b/drivers/net/wireless/ath/wcn36xx/dxe.c index 73f12f1..334f265 100644 --- a/drivers/net/wireless/ath/wcn36xx/dxe.c +++ b/drivers/net/wireless/ath/wcn36xx/dxe.c @@ -46,7 +46,7 @@ static void wcn36xx_dxe_write_register(struct wcn36xx *wcn, int addr, int data) #define wcn36xx_dxe_write_register_x(wcn, reg, reg_data) \ do { \ - if (wcn->chip_version == WCN36XX_CHIP_3680) \ + if (wcn->chip_version != WCN36XX_CHIP_3660) \ wcn36xx_dxe_write_register(wcn, reg ## _3680, reg_data); \ else \ wcn36xx_dxe_write_register(wcn, reg ## _3660, reg_data); \
Between 3620, 3660 and 3680, only 3660 has a different dxe register Signed-off-by: Andy Green <andy.green@linaro.org> --- drivers/net/wireless/ath/wcn36xx/dxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html