Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131513
b: refs/heads/master
c: 249d0fa
h: refs/heads/master
i:
  131511: f082d09
v: v3
  • Loading branch information
David Brownell authored and Pierre Ossman committed Feb 18, 2009
1 parent 7d61c2c commit efe829e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 5dbace0c9ba110c1a3810a89fa6bf12b7574b5a3
refs/heads/master: 249d0fa9d59b6165ecc224720d9ce9b7267cf1b8
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,9 @@ static void mmc_omap_detect(struct work_struct *work)
{
struct mmc_omap_host *host = container_of(work, struct mmc_omap_host,
mmc_carddetect_work);
struct omap_mmc_slot_data *slot = &mmc_slot(host);

host->carddetect = slot->card_detect(slot->card_detect_irq);

sysfs_notify(&host->mmc->class_dev.kobj, NULL, "cover_switch");
if (host->carddetect) {
Expand All @@ -538,7 +541,6 @@ static irqreturn_t omap_mmc_cd_handler(int irq, void *dev_id)
{
struct mmc_omap_host *host = (struct mmc_omap_host *)dev_id;

host->carddetect = mmc_slot(host).card_detect(irq);
schedule_work(&host->mmc_carddetect_work);

return IRQ_HANDLED;
Expand Down

0 comments on commit efe829e

Please sign in to comment.