From 53f5d59fa17049d94a3992d1067ded1fa90f61f8 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 16 Feb 2017 09:53:03 +0100 Subject: mediatek: bump to v4.9 Signed-off-by: John Crispin --- ...ediatek-remove-superfluous-register-reads.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 target/linux/mediatek/patches-4.4/0093-net-next-mediatek-remove-superfluous-register-reads.patch (limited to 'target/linux/mediatek/patches-4.4/0093-net-next-mediatek-remove-superfluous-register-reads.patch') diff --git a/target/linux/mediatek/patches-4.4/0093-net-next-mediatek-remove-superfluous-register-reads.patch b/target/linux/mediatek/patches-4.4/0093-net-next-mediatek-remove-superfluous-register-reads.patch deleted file mode 100644 index 3ddbbc6fd6..0000000000 --- a/target/linux/mediatek/patches-4.4/0093-net-next-mediatek-remove-superfluous-register-reads.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 31428406bf4b9da2a322ae947096414ff0489fb5 Mon Sep 17 00:00:00 2001 -From: John Crispin -Date: Tue, 3 May 2016 03:57:01 +0200 -Subject: [PATCH 093/102] net-next: mediatek: remove superfluous register - reads - -The driver was originally written for MIPS based SoC. These required the -IRQ mask register to be read after writing it to ensure that the content -was actually applied. As this version only works on ARM based SoC, we can -safely remove the 2 reads as they ware not required. - -Signed-off-by: Sean Wang -Signed-off-by: John Crispin ---- - drivers/net/ethernet/mediatek/mtk_eth_soc.c | 4 ---- - 1 file changed, 4 deletions(-) - ---- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c -+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c -@@ -335,8 +335,6 @@ static inline void mtk_irq_disable(struc - - val = mtk_r32(eth, MTK_QDMA_INT_MASK); - mtk_w32(eth, val & ~mask, MTK_QDMA_INT_MASK); -- /* flush write */ -- mtk_r32(eth, MTK_QDMA_INT_MASK); - } - - static inline void mtk_irq_enable(struct mtk_eth *eth, u32 mask) -@@ -345,8 +343,6 @@ static inline void mtk_irq_enable(struct - - val = mtk_r32(eth, MTK_QDMA_INT_MASK); - mtk_w32(eth, val | mask, MTK_QDMA_INT_MASK); -- /* flush write */ -- mtk_r32(eth, MTK_QDMA_INT_MASK); - } - - static int mtk_set_mac_address(struct net_device *dev, void *p) -- cgit v1.2.3