diff options
-rw-r--r-- | drivers/mfd/twl6030-irq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mfd/twl6030-irq.c b/drivers/mfd/twl6030-irq.c index 6148633..da60cd6 100644 --- a/drivers/mfd/twl6030-irq.c +++ b/drivers/mfd/twl6030-irq.c @@ -346,8 +346,9 @@ int twl6030_mmc_card_detect_config(void) return ret; } - ret = twl_i2c_write_u8(TWL6030_MODULE_ID0, MMC_MEXT_DEB_MASK, - TWL6030_MMCDEBOUNCING); + ret = twl_i2c_write_u8(TWL6030_MODULE_ID0, + (MMC_MINS_DEB_MASK | MMC_MEXT_DEB_MASK), + TWL6030_MMCDEBOUNCING); if (ret < 0){ pr_err("twl6030: Failed to write MMC_MEXT_DEB_MASK %d\n", ret); |