]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: sdhci-pxav3: add quirks2
authorKevin Liu <kliu5@marvell.com>
Wed, 17 Oct 2012 11:04:48 +0000 (19:04 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:54:51 +0000 (13:54 -0500)
Acked-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pxav3.c
include/linux/platform_data/pxa_sdhci.h

index ccd190619e6aab6b07b9d392e28fa01436c30ee7..60829c92bcfd1c04b7e582899ff2163a02da0225 100644 (file)
@@ -280,6 +280,8 @@ static int __devinit sdhci_pxav3_probe(struct platform_device *pdev)
 
                if (pdata->quirks)
                        host->quirks |= pdata->quirks;
+               if (pdata->quirks2)
+                       host->quirks2 |= pdata->quirks2;
                if (pdata->host_caps)
                        host->mmc->caps |= pdata->host_caps;
                if (pdata->host_caps2)
index 0d750085f119daa82682e9ecad24004e76956259..27d3156d093ae4f05ac09da2ddf5b58c4292d8ec 100644 (file)
@@ -38,6 +38,7 @@
  * @max_speed: the maximum speed supported
  * @host_caps: Standard MMC host capabilities bit field.
  * @quirks: quirks of platfrom
+ * @quirks2: quirks2 of platfrom
  * @pm_caps: pm_caps of platfrom
  */
 struct sdhci_pxa_platdata {
@@ -51,6 +52,7 @@ struct sdhci_pxa_platdata {
        u32             host_caps;
        u32             host_caps2;
        unsigned int    quirks;
+       unsigned int    quirks2;
        unsigned int    pm_caps;
 };