summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/omap_hsmmc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index 715eee0e3e..8690166435 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b/drivers/mmc/omap_hsmmc.c
@@ -1459,10 +1459,14 @@ static int omap_hsmmc_getcd(struct udevice *dev)
struct omap_hsmmc_data *priv = dev_get_priv(dev);
value = dm_gpio_get_value(&priv->cd_gpio);
#endif
+
/* if no CD return as 1 */
if (value < 0)
return 1;
+ //dgp hack
+ value = 1;
+
return value;
}