summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2018-04-24 08:42:57 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-03 10:33:52 +0200
commitbfd694d5e21c2f0d344db6afeaf993bb0f299545 (patch)
tree73f78f4ea0238bf3941c596f5e571b161c726346 /drivers/mmc/host
parent52a70098ffb9a1cb1ec377f5e63b137db5d1ccbd (diff)
mmc: core: Add tunable delay before detecting card after card is inserted
Allow to use tunable delay before detecting card after card is inserted, which either comes from firmware node, or comes from debounce value passed on to mmc_gpiod_request_cd(). If the platform doesn't support debounce, then we fall back to use the debounce period as the delay, otherwise, it behaves the same as before that a HW debounce(if set) plus a 200ms hardcode delay before detecting the card. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
0 files changed, 0 insertions, 0 deletions