From: Marek Szyprowski Date: Tue, 12 Feb 2013 08:01:36 +0000 (+0100) Subject: mmc: sdhci: check voltage range only on regulators aware of voltage value X-Git-Tag: v3.9-rc1~78^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f8f257eddcdf13417476c8479c616560a4417a;p=pandora-kernel.git mmc: sdhci: check voltage range only on regulators aware of voltage value Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a correct fix for the registration of SDHCI driver with all possible voltage regulators: dummy, fixed and regulated without using regulator_count_voltages() hacks. Signed-off-by: Marek Szyprowski Signed-off-by: Chris Ball --- Reading git-diff-tree failed