Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182090
b: refs/heads/master
c: 3b83907
h: refs/heads/master
v: v3
  • Loading branch information
Manuel Lauss authored and Ralf Baechle committed Feb 27, 2010
1 parent cb03340 commit a9af2f4
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 92bbe1b988d3d6fa6348e3e376ff6d27e0712147
refs/heads/master: 3b839070f11295735ce8d9ef580c5eb23417aabf
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/mach-au1x00/au1100_mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ struct au1xmmc_platform_data {
int(*card_readonly)(void *mmc_host);
void(*set_power)(void *mmc_host, int state);
struct led_classdev *led;
unsigned long mask_host_caps;
};

#define SD0_BASE 0xB0600000
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/mmc/host/au1xmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,10 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev)
} else
mmc->caps |= MMC_CAP_NEEDS_POLL;

/* platform may not be able to use all advertised caps */
if (host->platdata)
mmc->caps &= ~(host->platdata->mask_host_caps);

tasklet_init(&host->data_task, au1xmmc_tasklet_data,
(unsigned long)host);

Expand Down

0 comments on commit a9af2f4

Please sign in to comment.