summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc_dma.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-11-20 00:30:39 -0800
committerChris Ball <chris@printf.net>2014-01-13 12:48:22 -0500
commit05fae4a7551543f10f1892f533af2d12378a4ba9 (patch)
tree59cf400c43788c5754ddcd89fe0f294ec8487ce7 /drivers/mmc/host/tmio_mmc_dma.c
parentd1a1dfb2f5dad3fbcea71b95791d525f4775cff5 (diff)
downloadop-kernel-dev-05fae4a7551543f10f1892f533af2d12378a4ba9.zip
op-kernel-dev-05fae4a7551543f10f1892f533af2d12378a4ba9.tar.gz
mmc: tmio: use -EPROBE_DEFER if driver can't find regulator
Current tmio driver tries to use default ocr_avail if 1) it couldn't find regulator and 2) if platform data doesn't have ocr_mask. But, there is no guarantee that regulator driver probe is faster than TMIO driver probe. TMIO driver will not use regulator in such case. By this patch, TMIO driver returns -EPROBE_DEFER if it couldn't find regulator and if platform doesn't have ocr_mask. Because, there is a possibility that regulator has not been probed, but the user expects it. This patch changes tmio_mmc_host_probe() behavior, but there is no user who has conflict. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc_dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud