diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-01 07:11:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-01 07:11:18 +0000 |
commit | e0707bb7a95d987e72601e2433e2db7b6cb73f94 (patch) | |
tree | cdb75d14aa3bc84f196961b79284ce37ad263644 /target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch | |
parent | 0c025eddb72a09d5417978b0669a8bbfaf7271c3 (diff) | |
download | master-187ad058-e0707bb7a95d987e72601e2433e2db7b6cb73f94.tar.gz master-187ad058-e0707bb7a95d987e72601e2433e2db7b6cb73f94.tar.bz2 master-187ad058-e0707bb7a95d987e72601e2433e2db7b6cb73f94.zip |
mediatek: update patches
add fixes for
* ethernet
* cpufreq
* nand
* a7-timer
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49098 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch b/target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch new file mode 100644 index 0000000000..2f940d34fc --- /dev/null +++ b/target/linux/mediatek/patches-4.4/0068-net-mediatek-remove-superflous-reset-call.patch @@ -0,0 +1,31 @@ +From 3c8781211140cc23750544a52b7310edb3b57f00 Mon Sep 17 00:00:00 2001 +From: John Crispin <blogic@openwrt.org> +Date: Fri, 25 Mar 2016 04:24:27 +0100 +Subject: [PATCH 68/78] net: mediatek: remove superflous reset call + +HW reset is triggered int he mtk_hw_init() function. There is no need to +reset the core during probe. + +Signed-off-by: John Crispin <blogic@openwrt.org> +--- + drivers/net/ethernet/mediatek/mtk_eth_soc.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c +index 4d8d0a3..293ea59 100644 +--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c ++++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c +@@ -1679,10 +1679,6 @@ static int mtk_probe(struct platform_device *pdev) + struct mtk_eth *eth; + int err; + +- err = device_reset(&pdev->dev); +- if (err) +- return err; +- + match = of_match_device(of_mtk_match, &pdev->dev); + soc = (struct mtk_soc_data *)match->data; + +-- +1.7.10.4 + |