mmc: msm_sdcc: Fix issues when MMC_CLKGATE is enabled

When CONFIG_MMC_CLKGATE is enabled make sure that only
clock gating framework manages {en|dis}abling of SD/MMC
clocks to avoid any race conditions and hitting BUG() calls.

For SDIO cards clock gating does nothing so handle it in
driver itself as already done.

Change-Id: I97141d31be59d41f37a0d43dc209047c18e383f2
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
1 file changed