u8500-mmc: disable SD supplies when card is not inserted

In the current version of the mmc-core, which is buggy in
terms of calls to the set_ios helpers, we see that the regulator
framework screams about unbalanced supplies. To face this, we use
_is_enabled regulator helper to maintain the sanity, LEADING to
potential issues if the MMC regulator is not exclusive for MMC.

On the later kernels, this can be mended using the following ways:
 - correct the mmc-core (somethings r aleady fixed up)
 - use the exclusive regulator APIs for mmc ops

ST-Ericsson Change ID: 264047

Acked-By: Hanumath PRASAD <hanumath.prasad@stericsson.com>
Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1784
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: I70b0c8954b2e84b77f7e9720fcaf107f8accf42b
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2804
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2 files changed