-From: Marko Katic <dromede.gmail.com>
+From 04e7345a49a7ab2eb725f8ee2569c49b9ea697bb Mon Sep 17 00:00:00 2001
+From: Marko Katic <dromede@gmail.com>
+Date: Mon, 15 Jul 2013 00:55:13 +0200
+Subject: [PATCH] pxamci: Refactor regulator support
 
 Here's an interesting scenario. The spitz machine has an
 Intersil 6271A voltage regulator and an ADS7846 touchscreen

 		host->pdata->setpower(mmc_dev(host->mmc), vdd);
 
 	return 0;

+			return 0;
+		else
+			dev_warn(mmc_dev(host->mmc),
+			 "mmc_regulator_set_ocr failed, "
+			 "falling back to platform data\n");
 	}
-	if (!host->vcc && host->pdata &&
+#endif
