wcn36xx: split DMA mask register writing.
authorFengwei Yin <fengwei.yin@linaro.org>
Sun, 20 Dec 2015 13:20:41 +0000 (21:20 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Jan 2016 13:16:19 +0000 (15:16 +0200)
Per comments from Bjorn Andersson <bjorn.andersson@sonymobile.com>,
split DMA mask register writing as seperate patch in case we need
bi-sect in the furture.

Signed-off-by: Fengwei Yin <fengwei.yin@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wcn36xx/dxe.c

index 473381f483bf224f710c471056ee5bc9233b788e..8643801f31b6ec818886b1ca7749e4014e021a8b 100644 (file)
@@ -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;