Re: [PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-08 Thread Ulf Hansson
On 7 May 2014 00:57, Tim Kryger wrote: > Callers of mmc_regulator_get_supply could benefit from knowing if either > of the regulators are present but not yet available. Since callers do > not currently examine the return value, modify this function to return > zero or -EPROBE_DEFER if either

Re: [PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-08 Thread Ulf Hansson
On 7 May 2014 00:57, Tim Kryger tim.kry...@linaro.org wrote: Callers of mmc_regulator_get_supply could benefit from knowing if either of the regulators are present but not yet available. Since callers do not currently examine the return value, modify this function to return zero or

Re: [PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-06 Thread Tim Kryger
On Tue, May 6, 2014 at 3:57 PM, Tim Kryger wrote: > Callers of mmc_regulator_get_supply could benefit from knowing if either > of the regulators are present but not yet available. Since callers do > not currently examine the return value, modify this function to return > zero or -EPROBE_DEFER if

[PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-06 Thread Tim Kryger
Callers of mmc_regulator_get_supply could benefit from knowing if either of the regulators are present but not yet available. Since callers do not currently examine the return value, modify this function to return zero or -EPROBE_DEFER if either regulator get returns the same. Furthermore, since

[PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-06 Thread Tim Kryger
Callers of mmc_regulator_get_supply could benefit from knowing if either of the regulators are present but not yet available. Since callers do not currently examine the return value, modify this function to return zero or -EPROBE_DEFER if either regulator get returns the same. Furthermore, since

Re: [PATCH v2] mmc: core: Improve support for deferred regulators

2014-05-06 Thread Tim Kryger
On Tue, May 6, 2014 at 3:57 PM, Tim Kryger tim.kry...@linaro.org wrote: Callers of mmc_regulator_get_supply could benefit from knowing if either of the regulators are present but not yet available. Since callers do not currently examine the return value, modify this function to return zero or