Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109914
b: refs/heads/master
c: da45b66
h: refs/heads/master
v: v3
  • Loading branch information
Haavard Skinnemoen authored and Pierre Ossman committed Sep 20, 2008
1 parent bd4cc4b commit f02659d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 75d33cc751214f8388d58fca3ef6d1df786b5861
refs/heads/master: da45b66ec89bbf3a1c172688c35d4d3a6e8e757f
4 changes: 4 additions & 0 deletions trunk/drivers/mmc/host/atmel-mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,10 @@ static int __init atmci_probe(struct platform_device *pdev)
host->present = !gpio_get_value(host->detect_pin);
}
}

if (!gpio_is_valid(host->detect_pin))
mmc->caps |= MMC_CAP_NEEDS_POLL;

if (gpio_is_valid(host->wp_pin)) {
if (gpio_request(host->wp_pin, "mmc_wp")) {
dev_dbg(&mmc->class_dev, "no WP pin available\n");
Expand Down

0 comments on commit f02659d

Please sign in to comment.