Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307947
b: refs/heads/master
c: 0e9f480
h: refs/heads/master
i:
  307945: 6996d4e
  307943: d165301
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Apr 24, 2012
1 parent ee91395 commit 4fbed1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dd1bfeb6cc89467261cc62ca81e0ac5da78ec0a
refs/heads/master: 0e9f480bb553d39ee06ccd45639ba7a5446a7b81
3 changes: 3 additions & 0 deletions trunk/drivers/mmc/core/cd-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ void mmc_cd_gpio_free(struct mmc_host *host)
{
struct mmc_cd_gpio *cd = host->hotplug.handler_priv;

if (!cd)
return;

free_irq(host->hotplug.irq, host);
gpio_free(cd->gpio);
kfree(cd);
Expand Down

0 comments on commit 4fbed1f

Please sign in to comment.