007-fix_verdex_pro_mmc_initialization.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. From 7169c68fec79e61549b8e9c0106dde88e4d1bf9d Mon Sep 17 00:00:00 2001
  2. From: Bobby Powers <[email protected]>
  3. Date: Thu, 29 Oct 2009 15:39:45 -0400
  4. Subject: [PATCH] [ARM] pxa: fix Verdex Pro mmc initialization
  5. The MicroSD port doesn't have card detect, read-only switch
  6. support, and is continuously powered. Somewhere in the
  7. forward-porting this got lost in the structure initialization.
  8. Signed-off-by: Bobby Powers <[email protected]>
  9. ---
  10. arch/arm/mach-pxa/gumstix-verdex.c | 7 +++++--
  11. 1 files changed, 5 insertions(+), 2 deletions(-)
  12. --- a/arch/arm/mach-pxa/gumstix-verdex.c
  13. +++ b/arch/arm/mach-pxa/gumstix-verdex.c
  14. @@ -590,8 +590,11 @@ static int verdex_mci_init(struct device
  15. }
  16. static struct pxamci_platform_data verdex_mci_platform_data = {
  17. - .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
  18. - .init = verdex_mci_init,
  19. + .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
  20. + .init = verdex_mci_init,
  21. + .gpio_card_detect = -1,
  22. + .gpio_card_ro = -1,
  23. + .gpio_power = -1,
  24. };
  25. static void __init verdex_mmc_init(void)