Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-11 Thread Chris Ball
Hi Marek, On Fri, Feb 01 2013, Marek Szyprowski wrote: On 12/4/2012 3:01 PM, Marek Szyprowski wrote: 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

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-01 Thread Marek Szyprowski
Hello, On 12/4/2012 3:01 PM, Marek Szyprowski wrote: 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

[PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Marek Szyprowski
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

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Kevin Liu
2012/12/4 Marek Szyprowski m.szyprow...@samsung.com: 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

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Mark Brown
On Tue, Dec 04, 2012 at 10:50:03PM +0800, Kevin Liu wrote: 2012/12/4 Marek Szyprowski m.szyprow...@samsung.com: + if (host-vmmc regulator_get_voltage(host-vmmc) 0) { ret = regulator_is_supported_voltage(host-vmmc, 270, 360);