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