From: Kishon Vijay Abraham I Date: Thu, 27 Aug 2015 09:14:03 +0000 (+0530) Subject: mmc: host: omap_hsmmc: don't use ->set_power to set initial regulator state X-Git-Tag: omap-for-v4.3/fixes-rc1~60^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8518efa6de999bcbd638702c2a2d72fe83431e4;p=pandora-kernel.git mmc: host: omap_hsmmc: don't use ->set_power to set initial regulator state If the regulator is enabled on boot (checked using regulator_is_enabled), invoke regulator_enable() so that the usecount reflects the correct state of the regulator and then disable the regulator so that the initial state of the regulator is disabled. Avoid using ->set_power, since set_power also takes care of setting the voltages which is not needed at this point. Signed-off-by: Kishon Vijay Abraham I Tested-by: Tony Lindgren Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed