[PATCH 1/3] mmc: usdhi6rol0: handle probe deferral for regulator

2015-08-19 Thread Rabin Vincent
We ignore errors from mmc_regulator_get_supply() because the usage of the regulators is optional for the driver, but we still need to check for and handle EPROBE_DEFER, like it's done in for example dw_mmc. Otherwise we might end up not using the specified regulators just because of probe order.

[PATCH 3/3] mmc: usdhi6rol0: fix ack register write

2015-08-19 Thread Rabin Vincent
The intent appears to be to clear only the bits which are set in status (by setting them to zero in the ack write), like in the other interrupt handlers, and not to always clear everything (by always writing zero). Use the correct not operator. Signed-off-by: Rabin Vincent rabin.vinc...@axis.com

[PATCH 2/3] mmc: usdhi6rol0: fix NULL pointer deref in debug print

2015-08-19 Thread Rabin Vincent
host-sg is only set when we're transferring multiple blocks. Check for its availibility before dereferencing it in the timeout work debug print. Signed-off-by: Rabin Vincent rabin.vinc...@axis.com --- drivers/mmc/host/usdhi6rol0.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH 1/2] mmc: core: enable CMD19 tuning for DDR50 mode

2015-08-19 Thread Barry Song
2015-08-18 1:11 GMT+08:00 Ulf Hansson ulf.hans...@linaro.org: On 11 August 2015 at 10:41, Barry Song 21cn...@gmail.com wrote: From: Weijun Yang york.y...@csr.com As SD Specifications Part1 Physical Layer Specification Version 3.01 says, CMD19 tuning is available for unlocked cards in transfer