projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792df87
)
ks8851: Fix request_irq/free_irq mismatch
author
Matt Renzelmann
<mjr@cs.wisc.edu>
Thu, 19 Apr 2012 07:17:17 +0000
(07:17 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 21 Apr 2012 19:55:31 +0000
(15:55 -0400)
The dev_id parameter passed to free_irq needs to match the one passed
to the corresponding request_irq.
Signed-off-by: Matt Renzelmann <mjr@cs.wisc.edu>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/micrel/ks8851.c
b/drivers/net/ethernet/micrel/ks8851.c
index ad10759e34596d540402ee7e93f6dd5c8a786a70..f8dda009d3c04722e54c659bfa3bb921d8b62fa8 100644
(file)
--- a/
drivers/net/ethernet/micrel/ks8851.c
+++ b/
drivers/net/ethernet/micrel/ks8851.c
@@
-1525,7
+1525,7
@@
static int __devinit ks8851_probe(struct spi_device *spi)
err_netdev:
- free_irq(ndev->irq,
ndev
);
+ free_irq(ndev->irq,
ks
);
err_id:
err_irq: