Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209680
b: refs/heads/master
c: f522886
h: refs/heads/master
v: v3
  • Loading branch information
Kyungmin Park authored and Linus Torvalds committed Aug 20, 2010
1 parent 018a10d commit da8b461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5193250168ccdf87364e35a11965336dc088578c
refs/heads/master: f522886e202a34a2191dd5d471b3c4d46410a9a0
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static void sdhci_s3c_notify_change(struct platform_device *dev, int state)
{
struct sdhci_host *host = platform_get_drvdata(dev);
if (host) {
mutex_lock(&host->lock);
spin_lock(&host->lock);
if (state) {
dev_dbg(&dev->dev, "card inserted.\n");
host->flags &= ~SDHCI_DEVICE_DEAD;
Expand All @@ -252,8 +252,8 @@ static void sdhci_s3c_notify_change(struct platform_device *dev, int state)
host->flags |= SDHCI_DEVICE_DEAD;
host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
}
sdhci_card_detect(host);
mutex_unlock(&host->lock);
tasklet_schedule(&host->card_tasklet);
spin_unlock(&host->lock);
}
}

Expand Down

0 comments on commit da8b461

Please sign in to comment.