From: Doug Anderson Date: Fri, 20 Feb 2015 18:57:18 +0000 (-0800) Subject: mmc: dw_mmc: Make sure we only adjust the clock when power is on X-Git-Tag: omap-for-v4.1/fixes-rc1~178^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655babbde6fdbd5a4a4072b7cdd8b1fb1a23db24;p=pandora-kernel.git mmc: dw_mmc: Make sure we only adjust the clock when power is on It appears that we can confuse things if we try to turn on the MMC clock when the power is off. Adjust is so that we turn the clock on (using dw_mci_setup_bus) after power is all the way on and we turn the clock off before the power goes off. Signed-off-by: Doug Anderson Tested-by: Javier Martinez Canillas Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed