Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91784
b: refs/heads/master
c: 8348f00
h: refs/heads/master
v: v3
  • Loading branch information
Kyungmin Park authored and Pierre Ossman committed Apr 18, 2008
1 parent cfe2e26 commit a15e9d9
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 01e77e13fc5a1e6c00ebb4f688293fa3116315ee
refs/heads/master: 8348f0029d85828671e3a1d11db41fe53afbdc0d
5 changes: 4 additions & 1 deletion trunk/drivers/mmc/host/omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ static void mmc_omap_release_slot(struct mmc_omap_slot *slot)
static inline
int mmc_omap_cover_is_open(struct mmc_omap_slot *slot)
{
return slot->pdata->get_cover_state(mmc_dev(slot->mmc), slot->id);
if (slot->pdata->get_cover_state)
return slot->pdata->get_cover_state(mmc_dev(slot->mmc),
slot->id);
return 0;
}

static ssize_t
Expand Down

0 comments on commit a15e9d9

Please sign in to comment.