Am 07.01.2013 12:25, schrieb Mark Brown:
On Mon, Jan 07, 2013 at 01:38:50PM +0800, Kevin Liu wrote:
Introduce a regulator_is_dummy function to check whether the
regulator is dummy.
No, we've been through this repeatedly. Whatever problem you're trying
to bodge around is going to be a problem with some real physical
regulators too.
Though I don't know the previous discussion, this seems a different case to me.
The problem is that *only* a dummy regulator is available which refuses to do any regulation at
all.
So sdhci/mmc should better behave as no regulator was available at all.
This may happen if e.g. in a precompiled kernel of some linux distro regulator support
(including dummy) is enabled but the machine running that kernel doesn't have a known hardware
regulator. This results in sdhci/mmc failing to enable the SD card reader though it would work
well without regulator support in the kernel.
Rainer
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html