From: Doug Anderson Date: Fri, 7 Jun 2013 17:28:29 +0000 (-0700) Subject: mmc: dw_mmc: Handle late vmmc regulators with EPROBE_DEFER X-Git-Tag: v3.11-rc1~50^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=870556a3dfb16d004f8e09dd59a1eddc727fcf0c;p=pandora-kernel.git mmc: dw_mmc: Handle late vmmc regulators with EPROBE_DEFER It is possible to specify a regulator that should be turned on when dw_mmc is probed. At the moment dw_mmc will fail to use the regulator properly if the regulator probes after dw_mmc. Fix this problem by honoring EPROBE_DEFER. At the same time move the regulator code out of the slot init code. We only specify one regulator for the whole device and other parts of the code (like suspend/resume) assume that the regulator has only been enabled once. Signed-off-by: Doug Anderson Signed-off-by: Chris Ball --- Reading git-diff-tree failed