]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
wcn36xx: split DMA mask register writing.
authorFengwei Yin <fengwei.yin@linaro.org>
Sun, 20 Dec 2015 13:20:41 +0000 (21:20 +0800)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Mon, 25 Jan 2016 16:09:52 +0000 (17:09 +0100)
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>
drivers/net/wireless/ath/wcn36xx/dxe.c

index 8abbea27aca3ab4abd6af8286da7c7c9334c2f4d..af0e515f634da99f002c07c859a9822b5818a34f 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;