mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
ks8851: Fix request_irq/free_irq mismatch
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>
This commit is contained in:
parent
792df87228
commit
e8195b24fe
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user