From: Paul Walmsley Date: Sat, 26 Feb 2011 01:22:08 +0000 (-0700) Subject: MMC: omap_hsmmc: enable interface clock before calling mmc_host_enable() X-Git-Tag: v2.6.39-rc1~432^2~10^2~2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05dcdb98011a53d150d699ef8243754e2c9a61c;p=pandora-kernel.git MMC: omap_hsmmc: enable interface clock before calling mmc_host_enable() The code path entered via mmc_host_enable() can include register accesses to the HSMMC IP block. For this to work, both the device interface clock and functional clock need to be enabled before mmc_host_enable() is called. However, omap_hsmmc_probe() calls mmc_host_enable() before enabling the device interface clock. Fix by calling mmc_host_enable() after the device interface clock is enabled. Signed-off-by: Paul Walmsley Cc: Madhusudhan Chikkature Rajashekar Cc: Adrian Hunter Cc: Kishore Kadiyala Cc: Tero Kristo Acked-by: Madhusudhan Chikkature Rajashekar --- Reading git-diff-tree failed