2016-04-29 11:34:31 +00:00
|
|
|
From 51dc0a2114c3d6e51bf2acde415fccdec031e480 Mon Sep 17 00:00:00 2001
|
2016-04-01 07:11:18 +00:00
|
|
|
From: John Crispin <blogic@openwrt.org>
|
|
|
|
Date: Fri, 25 Mar 2016 04:24:27 +0100
|
2016-04-29 11:34:31 +00:00
|
|
|
Subject: [PATCH 72/91] net: mediatek: remove superflous reset call
|
2016-04-01 07:11:18 +00:00
|
|
|
|
|
|
|
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(-)
|
|
|
|
|
|
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
2016-05-08 19:57:27 +00:00
|
|
|
@@ -1679,10 +1679,6 @@ static int mtk_probe(struct platform_dev
|
2016-04-01 07:11:18 +00:00
|
|
|
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;
|
|
|
|
|