All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix for Ingenic MAC support.
@ 2021-06-20 12:38 ` 周琰杰 (Zhou Yanjie)
  0 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

1.Remove the unexpected "snps,dwmac" item in the example.
2.Remove unused variables in ingenic_mac_suspend() and
  ingenic_mac_resume().

周琰杰 (Zhou Yanjie) (2):
  dt-bindings: dwmac: Remove unexpected item.
  net: stmmac: Ingenic: Remove unused variables.

 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c    | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 0/2] Fix for Ingenic MAC support.
@ 2021-06-20 12:38 ` 周琰杰 (Zhou Yanjie)
  0 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

1.Remove the unexpected "snps,dwmac" item in the example.
2.Remove unused variables in ingenic_mac_suspend() and
  ingenic_mac_resume().

周琰杰 (Zhou Yanjie) (2):
  dt-bindings: dwmac: Remove unexpected item.
  net: stmmac: Ingenic: Remove unused variables.

 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c    | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] dt-bindings: dwmac: Remove unexpected item.
  2021-06-20 12:38 ` 周琰杰 (Zhou Yanjie)
@ 2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
  -1 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

Remove the unexpected "snps,dwmac" item in the example.

Fixes: 3b8401066e5a ("dt-bindings: dwmac: Add bindings for new Ingenic SoCs.")

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---
 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ingenic,mac.yaml b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
index 5e93d4f..d08a881 100644
--- a/Documentation/devicetree/bindings/net/ingenic,mac.yaml
+++ b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
@@ -61,7 +61,7 @@ examples:
     #include <dt-bindings/clock/x1000-cgu.h>
 
     mac: ethernet@134b0000 {
-        compatible = "ingenic,x1000-mac", "snps,dwmac";
+        compatible = "ingenic,x1000-mac";
         reg = <0x134b0000 0x2000>;
 
         interrupt-parent = <&intc>;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 1/2] dt-bindings: dwmac: Remove unexpected item.
@ 2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
  0 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

Remove the unexpected "snps,dwmac" item in the example.

Fixes: 3b8401066e5a ("dt-bindings: dwmac: Add bindings for new Ingenic SoCs.")

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---
 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ingenic,mac.yaml b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
index 5e93d4f..d08a881 100644
--- a/Documentation/devicetree/bindings/net/ingenic,mac.yaml
+++ b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
@@ -61,7 +61,7 @@ examples:
     #include <dt-bindings/clock/x1000-cgu.h>
 
     mac: ethernet@134b0000 {
-        compatible = "ingenic,x1000-mac", "snps,dwmac";
+        compatible = "ingenic,x1000-mac";
         reg = <0x134b0000 0x2000>;
 
         interrupt-parent = <&intc>;
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] net: stmmac: Ingenic: Remove unused variables.
  2021-06-20 12:38 ` 周琰杰 (Zhou Yanjie)
@ 2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
  -1 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

Remove unused variables in ingenic_mac_suspend() and
ingenic_mac_resume().

Fixes: 2bb4b98b60d7 ("net: stmmac: Add Ingenic SoCs MAC support.")

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
index 667ed46..9a6d819 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
@@ -311,9 +311,6 @@ static int ingenic_mac_probe(struct platform_device *pdev)
 #ifdef CONFIG_PM_SLEEP
 static int ingenic_mac_suspend(struct device *dev)
 {
-	struct net_device *ndev = dev_get_drvdata(dev);
-	struct stmmac_priv *priv = netdev_priv(ndev);
-	struct ingenic_mac *mac = priv->plat->bsp_priv;
 	int ret;
 
 	ret = stmmac_suspend(dev);
@@ -325,7 +322,6 @@ static int ingenic_mac_resume(struct device *dev)
 {
 	struct net_device *ndev = dev_get_drvdata(dev);
 	struct stmmac_priv *priv = netdev_priv(ndev);
-	struct ingenic_mac *mac = priv->plat->bsp_priv;
 	int ret;
 
 	ret = ingenic_mac_init(priv->plat);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] net: stmmac: Ingenic: Remove unused variables.
@ 2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
  0 siblings, 0 replies; 8+ messages in thread
From: 周琰杰 (Zhou Yanjie) @ 2021-06-20 12:38 UTC (permalink / raw)
  To: davem, kuba, robh+dt, peppe.cavallaro, alexandre.torgue, joabreu,
	mcoquelin.stm32
  Cc: netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel,
	dongsheng.qiu, aric.pzqi, rick.tyliu, sihui.liu, jun.jiang,
	sernia.zhou

Remove unused variables in ingenic_mac_suspend() and
ingenic_mac_resume().

Fixes: 2bb4b98b60d7 ("net: stmmac: Add Ingenic SoCs MAC support.")

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
index 667ed46..9a6d819 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c
@@ -311,9 +311,6 @@ static int ingenic_mac_probe(struct platform_device *pdev)
 #ifdef CONFIG_PM_SLEEP
 static int ingenic_mac_suspend(struct device *dev)
 {
-	struct net_device *ndev = dev_get_drvdata(dev);
-	struct stmmac_priv *priv = netdev_priv(ndev);
-	struct ingenic_mac *mac = priv->plat->bsp_priv;
 	int ret;
 
 	ret = stmmac_suspend(dev);
@@ -325,7 +322,6 @@ static int ingenic_mac_resume(struct device *dev)
 {
 	struct net_device *ndev = dev_get_drvdata(dev);
 	struct stmmac_priv *priv = netdev_priv(ndev);
-	struct ingenic_mac *mac = priv->plat->bsp_priv;
 	int ret;
 
 	ret = ingenic_mac_init(priv->plat);
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: dwmac: Remove unexpected item.
  2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
@ 2021-06-22 16:32     ` Rob Herring
  -1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2021-06-22 16:32 UTC (permalink / raw)
  To: 周琰杰 (Zhou Yanjie)
  Cc: David Miller, Jakub Kicinski, Giuseppe CAVALLARO,
	Alexandre Torgue, Jose Abreu, Maxime Coquelin, netdev,
	devicetree, linux-kernel, moderated list:ARM/STM32 ARCHITECTURE,
	linux-arm-kernel, dongsheng.qiu, aric.pzqi, rick.tyliu,
	sihui.liu, jun.jiang, sernia.zhou

On Sun, Jun 20, 2021 at 6:39 AM 周琰杰 (Zhou Yanjie)
<zhouyanjie@wanyeetech.com> wrote:
>
> Remove the unexpected "snps,dwmac" item in the example.
>
> Fixes: 3b8401066e5a ("dt-bindings: dwmac: Add bindings for new Ingenic SoCs.")
>
> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
> ---
>  Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'd apply Thierry's patch instead.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: dwmac: Remove unexpected item.
@ 2021-06-22 16:32     ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2021-06-22 16:32 UTC (permalink / raw)
  To: 周琰杰 (Zhou Yanjie)
  Cc: David Miller, Jakub Kicinski, Giuseppe CAVALLARO,
	Alexandre Torgue, Jose Abreu, Maxime Coquelin, netdev,
	devicetree, linux-kernel, moderated list:ARM/STM32 ARCHITECTURE,
	linux-arm-kernel, dongsheng.qiu, aric.pzqi, rick.tyliu,
	sihui.liu, jun.jiang, sernia.zhou

On Sun, Jun 20, 2021 at 6:39 AM 周琰杰 (Zhou Yanjie)
<zhouyanjie@wanyeetech.com> wrote:
>
> Remove the unexpected "snps,dwmac" item in the example.
>
> Fixes: 3b8401066e5a ("dt-bindings: dwmac: Add bindings for new Ingenic SoCs.")
>
> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
> ---
>  Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'd apply Thierry's patch instead.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-22 16:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20 12:38 [PATCH 0/2] Fix for Ingenic MAC support 周琰杰 (Zhou Yanjie)
2021-06-20 12:38 ` 周琰杰 (Zhou Yanjie)
2021-06-20 12:38 ` [PATCH 1/2] dt-bindings: dwmac: Remove unexpected item 周琰杰 (Zhou Yanjie)
2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)
2021-06-22 16:32   ` Rob Herring
2021-06-22 16:32     ` Rob Herring
2021-06-20 12:38 ` [PATCH 2/2] net: stmmac: Ingenic: Remove unused variables 周琰杰 (Zhou Yanjie)
2021-06-20 12:38   ` 周琰杰 (Zhou Yanjie)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.