Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Mark Brown
On Tue, Oct 23, 2012 at 10:29:41AM -0600, Stephen Warren wrote: > On 10/23/2012 01:57 AM, Lucas Stach wrote: > > Does this work with boards where we don't have any MMC supplies? Or are > > we just deferring the probe indefinitely there? > > For boards that power MMC unconditionally, are we

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Stephen Warren
On 10/23/2012 01:57 AM, Lucas Stach wrote: > Am Dienstag, den 23.10.2012, 12:49 +0530 schrieb Pavan Kunapuli: >> vmmc and vqmmc regulators control the voltage to >> the host and device. Defer the probe if either of >> them is not registered. > > Does this work with boards where we don't have any

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Stephen Warren
On 10/23/2012 01:18 AM, Pavan Kunapuli wrote: > vmmc and vqmmc regulators control the voltage to > the host and device. Defer the probe if either of > them is not registered. > > Signed-off-by: Pavan Kunapuli > --- > drivers/mmc/host/sdhci.c | 25 ++--- > 1 files changed,

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2012 at 03:21:58PM +0200, Philip Rakity wrote: > On 23 Oct 2012, at 09:19, Pavan Kunapuli wrote: > > - /* If vqmmc regulator and no 1.8V signalling, then there's no UHS */ > > + /* > > +* If vqmmc regulator and no 1.8V signalling, then there's no UHS. > > +* vqmmc

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Philip Rakity
On 23 Oct 2012, at 09:19, Pavan Kunapuli wrote: > vmmc and vqmmc regulators control the voltage to > the host and device. Defer the probe if either of > them is not registered. > > Signed-off-by: Pavan Kunapuli > --- > drivers/mmc/host/sdhci.c | 25 ++--- > 1 files

RE: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
-...@vger.kernel.org Subject: Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails I didn't understand why defer the probe? I think that some board can't control vqmmc or vmmc. Best Regards, Jaehoon Chung On 10/23/2012 04:18 PM, Pavan Kunapuli wrote: > vmmc and vqmmc regulators control the volt

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Jaehoon Chung
I didn't understand why defer the probe? I think that some board can't control vqmmc or vmmc. Best Regards, Jaehoon Chung On 10/23/2012 04:18 PM, Pavan Kunapuli wrote: > vmmc and vqmmc regulators control the voltage to > the host and device. Defer the probe if either of > them is not registered.

RE: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
Sent: 23 October 2012 13:27 To: Pavan Kunapuli Cc: swar...@wwwdotorg.org; li...@arm.linux.org.uk; c...@laptop.org; linux-te...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulato

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Lucas Stach
Am Dienstag, den 23.10.2012, 12:49 +0530 schrieb Pavan Kunapuli: > vmmc and vqmmc regulators control the voltage to > the host and device. Defer the probe if either of > them is not registered. > Does this work with boards where we don't have any MMC supplies? Or are we just deferring the probe

[PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli --- drivers/mmc/host/sdhci.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git

[PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli --- drivers/mmc/host/sdhci.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git

[PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli pkunap...@nvidia.com --- drivers/mmc/host/sdhci.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff

[PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli pkunap...@nvidia.com --- drivers/mmc/host/sdhci.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Lucas Stach
Am Dienstag, den 23.10.2012, 12:49 +0530 schrieb Pavan Kunapuli: vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Does this work with boards where we don't have any MMC supplies? Or are we just deferring the probe

RE: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
To: Pavan Kunapuli Cc: swar...@wwwdotorg.org; li...@arm.linux.org.uk; c...@laptop.org; linux-te...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails Am Dienstag, den

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Jaehoon Chung
I didn't understand why defer the probe? I think that some board can't control vqmmc or vmmc. Best Regards, Jaehoon Chung On 10/23/2012 04:18 PM, Pavan Kunapuli wrote: vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered.

RE: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Pavan Kunapuli
-...@vger.kernel.org Subject: Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails I didn't understand why defer the probe? I think that some board can't control vqmmc or vmmc. Best Regards, Jaehoon Chung On 10/23/2012 04:18 PM, Pavan Kunapuli wrote: vmmc and vqmmc regulators control the voltage

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Philip Rakity
On 23 Oct 2012, at 09:19, Pavan Kunapuli pkunap...@nvidia.com wrote: vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli pkunap...@nvidia.com --- drivers/mmc/host/sdhci.c | 25

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2012 at 03:21:58PM +0200, Philip Rakity wrote: On 23 Oct 2012, at 09:19, Pavan Kunapuli pkunap...@nvidia.com wrote: - /* If vqmmc regulator and no 1.8V signalling, then there's no UHS */ + /* +* If vqmmc regulator and no 1.8V signalling, then there's no UHS. +*

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Stephen Warren
On 10/23/2012 01:18 AM, Pavan Kunapuli wrote: vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Signed-off-by: Pavan Kunapuli pkunap...@nvidia.com --- drivers/mmc/host/sdhci.c | 25 ++--- 1

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Stephen Warren
On 10/23/2012 01:57 AM, Lucas Stach wrote: Am Dienstag, den 23.10.2012, 12:49 +0530 schrieb Pavan Kunapuli: vmmc and vqmmc regulators control the voltage to the host and device. Defer the probe if either of them is not registered. Does this work with boards where we don't have any MMC

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Mark Brown
On Tue, Oct 23, 2012 at 10:29:41AM -0600, Stephen Warren wrote: On 10/23/2012 01:57 AM, Lucas Stach wrote: Does this work with boards where we don't have any MMC supplies? Or are we just deferring the probe indefinitely there? For boards that power MMC unconditionally, are we supposed to