* [PATCH] TI DaVinci EMAC : Fix rmmod error
@ 2009-06-17 11:28 Chaithrika U S
2009-06-19 20:54 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Chaithrika U S @ 2009-06-17 11:28 UTC (permalink / raw)
To: netdev; +Cc: davinci-linux-open-source, Chaithrika U S
clk_disable was called twice in the remove function.
Correct this so that the driver module unloads without error.
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
---
Applies to Linus' kernel tree
drivers/net/davinci_emac.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 0e9b9f9..2df8fb0 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -2767,7 +2767,6 @@ static int __devexit davinci_emac_remove(struct platform_device *pdev)
dev_notice(&ndev->dev, "DaVinci EMAC: davinci_emac_remove()\n");
- clk_disable(emac_clk);
platform_set_drvdata(pdev, NULL);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mdiobus_unregister(priv->mii_bus);
--
1.5.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] TI DaVinci EMAC : Fix rmmod error
2009-06-17 11:28 [PATCH] TI DaVinci EMAC : Fix rmmod error Chaithrika U S
@ 2009-06-19 20:54 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2009-06-19 20:54 UTC (permalink / raw)
To: Chaithrika U S; +Cc: netdev, davinci-linux-open-source
Chaithrika U S <chaithrika@ti.com> writes:
> clk_disable was called twice in the remove function.
> Correct this so that the driver module unloads without error.
>
> Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
(TI DaVinci arch maintainer)
Will pull into DaVinci git until it merges upstream.
Kevin
> ---
> Applies to Linus' kernel tree
>
> drivers/net/davinci_emac.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
> index 0e9b9f9..2df8fb0 100644
> --- a/drivers/net/davinci_emac.c
> +++ b/drivers/net/davinci_emac.c
> @@ -2767,7 +2767,6 @@ static int __devexit davinci_emac_remove(struct platform_device *pdev)
>
> dev_notice(&ndev->dev, "DaVinci EMAC: davinci_emac_remove()\n");
>
> - clk_disable(emac_clk);
> platform_set_drvdata(pdev, NULL);
> res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> mdiobus_unregister(priv->mii_bus);
> --
> 1.5.6
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-19 20:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 11:28 [PATCH] TI DaVinci EMAC : Fix rmmod error Chaithrika U S
2009-06-19 20:54 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).