From patchwork Sun Dec 20 13:20:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 58768 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp2063519lbb; Sun, 20 Dec 2015 05:25:58 -0800 (PST) X-Received: by 10.66.156.226 with SMTP id wh2mr19555119pab.95.1450617958167; Sun, 20 Dec 2015 05:25:58 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ad8si8657627pad.214.2015.12.20.05.25.57; Sun, 20 Dec 2015 05:25:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932717AbbLTNZ4 (ORCPT + 1 other); Sun, 20 Dec 2015 08:25:56 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36858 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932352AbbLTNZz (ORCPT ); Sun, 20 Dec 2015 08:25:55 -0500 Received: by mail-pf0-f177.google.com with SMTP id o64so74234804pfb.3 for ; Sun, 20 Dec 2015 05:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZaP54xZWMVeJ17dZMOXBlBUi7OuJ0PiVi8MKIOMIyug=; b=SUHNQzgiD1N5UuW9wt8hK/+1Y0AkWLPZlz8zg+HdEbmVvY2xP2Z/2fcTvrFeAG15qd h5euLHkX3FUTInMxQCXpg0K6AKqhUYu1Ei4BkvEk4VasuBbyLjDsu7d0lYv33ax+5Oo1 4FXlN/QTmyhMji2L6e0oMi/gBDGuoK6rZPGBU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZaP54xZWMVeJ17dZMOXBlBUi7OuJ0PiVi8MKIOMIyug=; b=Ea3BcYBhottOLEGm/5HJWv64bxG1O3HdCDrCuc+DN7JW41WWx2GYieLTLjC0+ZhWYA fwgBvzv0Fbw6F4v6/KQPyXLOmIBzmoEauFpaDQ1wdIHiIoCEAizvvs2VylhMU+FnkSBF hrV4NOcEgsy1ojm5TTI5e2V523SKC4Ai53MS39rcQeKyple6iMzvnjrfroGhYheHEWPK Afua5h9x7iboF4tO8N13Z8ktPgQLJSgCoYepZHHeV2LrepcbzZn+MWuHPuFm4Isx92AS dAPRharV0KKEyM5KCUmiyMiCcD0TdKCS1Kwgq11RcmrpiKnWDsOqmEMIds+Ujk6J67PV gLjQ== X-Gm-Message-State: ALoCoQmNm6XQeLz6Olm9vO5Wbf79l7cSd3Ous+72IqlFfDMOpAcKgZh1v13AwB8CHdkAMuxeNhREpLIc/LiATTMS+66tTvJKFQ== X-Received: by 10.98.10.137 with SMTP id 9mr3840096pfk.37.1450617955213; Sun, 20 Dec 2015 05:25:55 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id q193sm13489151pfq.28.2015.12.20.05.25.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Dec 2015 05:25:54 -0800 (PST) From: Fengwei Yin To: julian.calaby@gmail.com, linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org, me@bobcopeland.com, k.eugene.e@gmail.com, bjorn.andersson@sonymobile.com Cc: fengwei.yin@linaro.org, lking@qti.qualcomm.com Subject: [PATCH v3 2/2] wcn36xx: split DMA mask register writing. Date: Sun, 20 Dec 2015 21:20:41 +0800 Message-Id: <1450617641-29531-3-git-send-email-fengwei.yin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1450617641-29531-1-git-send-email-fengwei.yin@linaro.org> References: <1450617641-29531-1-git-send-email-fengwei.yin@linaro.org> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Per comments from Bjorn Andersson , split DMA mask register writing as seperate patch in case we need bi-sect in the furture. Signed-off-by: Fengwei Yin --- drivers/net/wireless/ath/wcn36xx/dxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/wireless/ath/wcn36xx/dxe.c b/drivers/net/wireless/ath/wcn36xx/dxe.c index 473381f..8643801 100644 --- a/drivers/net/wireless/ath/wcn36xx/dxe.c +++ b/drivers/net/wireless/ath/wcn36xx/dxe.c @@ -498,11 +498,11 @@ static int wcn36xx_rx_handle_packets(struct wcn36xx *wcn, wcn36xx_rx_skb(wcn, skb); } /* else keep old skb not submitted and use it for rx DMA */ - wcn36xx_dxe_write_register(wcn, WCN36XX_DXE_ENCH_ADDR, int_mask); dxe->ctrl = value; ctl = ctl->next; dxe = ctl->desc; } + wcn36xx_dxe_write_register(wcn, WCN36XX_DXE_ENCH_ADDR, int_mask); ch->head_blk_ctl = ctl; return 0;