aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorViswanath Puttagunta <vishp@ti.com>2011-12-08 14:48:04 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-01 13:00:10 +0200
commit2e47130cf7e4a0aebca31ebdd74e3c52deadf53b (patch)
treeb21d47c226133d72b9477c2e831239a2b7f88286 /drivers/mfd
parent856f3f8df38b5b5a098dece612c291f1616f8b7a (diff)
downloadkernel_samsung_tuna-2e47130cf7e4a0aebca31ebdd74e3c52deadf53b.zip
kernel_samsung_tuna-2e47130cf7e4a0aebca31ebdd74e3c52deadf53b.tar.gz
kernel_samsung_tuna-2e47130cf7e4a0aebca31ebdd74e3c52deadf53b.tar.bz2
omap-hsmmc: Increase debounce for SD card insert
Increasing debounce time for SD card insert. Without this, we are seeing erroneous card insert detect interrupts coming in even while removal of SD card. Change-Id: I1e8fcaec22f438708fe40db2871a4ab565bfb9a5 Signed-off-by: Viswanath Puttagunta <vishp@ti.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/twl6030-irq.c5
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);