Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105166
b: refs/heads/master
c: bbae020
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Russell King committed Jul 10, 2008
1 parent ba3d2fa commit a909029
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20072fd0c93349e19527dd2fa9588b4335960e62
refs/heads/master: bbae02035a87a3ef45f751032ec8d2bb6f3ed496
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-pxa/ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ int ssp_init(struct ssp_dev *dev, u32 port, u32 init_flags)
goto out_region;
dev->irq = ssp->irq;
} else
dev->irq = 0;
dev->irq = NO_IRQ;

/* turn on SSP port clock */
clk_enable(ssp->clk);
Expand All @@ -306,7 +306,8 @@ void ssp_exit(struct ssp_dev *dev)
struct ssp_device *ssp = dev->ssp;

ssp_disable(dev);
free_irq(dev->irq, dev);
if (dev->irq != NO_IRQ)
free_irq(dev->irq, dev);
clk_disable(ssp->clk);
ssp_free(ssp);
}
Expand Down

0 comments on commit a909029

Please sign in to comment.