Skip to contentSkip to conversation

mmc: sdhci-s3c: initialize host->quirks2 for using quirk2

PATCH In review Jaehoon Chung 2 participants 2 messages Aug 2, 2013 – Aug 30, 2013

Subsystems (3)
lore
Share & tools
lore

Jaehoon Chung

author maintainer
#0 lore raw

PATCH v2 2/4 mmc: sdhci-s3c: initialize host->quirks2 for using quirk2

In order to use the quirks2, initialized the host->quirks2.

---
Changelog v2:
- Nothing

 drivers/mmc/host/sdhci-s3c.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sdhci-s3c.c +1 -0
index 1572b6a..6debda9 100644
@@ -611,6 +611,7 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
 	host->hw_name = "samsung-hsmmc";
 	host->ops = &sdhci_s3c_ops;
 	host->quirks = 0;
+	host->quirks2 = 0;
 	host->irq = irq;
 
 	/* Setup quirks for the controller */
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Jaehoon,

Quoted 16 lines · Jaehoon Chung

In order to use the quirks2, initialized the host->quirks2.

---
Changelog v2:
- Nothing

 drivers/mmc/host/sdhci-s3c.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sdhci-s3c.c +0 -0
index 1572b6a..6debda9 100644

drivers/mmc/host/sdhci-s3c.c static int sdhci_s3c_probe(struct platform_device *pdev) · line 617

Quoted 7 lines
drivers/mmc/host/sdhci-s3c.c +1 -0
@@ -611,6 +611,7 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
 	host->hw_name = "samsung-hsmmc";
 	host->ops = &sdhci_s3c_ops;
 	host->quirks = 0;
+	host->quirks2 = 0;
 	host->irq = irq;
 
 	/* Setup quirks for the controller */

Thanks, pushed too mmc-next for 3.12.

- Chris.

Signature · 1 line
Chris Ball   <[email protected]>   <http://printf.net/>