mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[MMC] Add mmc_detect_change() delay support for PXAMCI driver
Allow PXA platforms to pass an appropriate delay value to the PXA MCI driver for delaying detection changes. Signed-Off-By: Richard Purdie <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
01357dcac6
commit
c26971cbb3
2 changed files with 4 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ struct mmc_host;
|
|||
|
||||
struct pxamci_platform_data {
|
||||
unsigned int ocr_mask; /* available voltages */
|
||||
unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */
|
||||
int (*init)(struct device *, irqreturn_t (*)(int, void *, struct pt_regs *), void *);
|
||||
int (*get_ro)(struct device *);
|
||||
void (*setpower)(struct device *, unsigned int);
|
||||
|
|
|
|||
Loading…
Reference in a new issue