mmc: core: Fix debounce time to use microseconds
authorTony Lindgren <tony@atomide.com>
Tue, 18 Sep 2018 23:16:56 +0000 (16:16 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Sep 2018 22:39:32 +0000 (00:39 +0200)
commit1d71926bbd59facc4bdb6f13117d3a1aee8b83ba
tree314b5e1969452a4dd70e46228adce424c3913ae3
parent2ea15030c3f0554db695f85e4760da8621c183d3
mmc: core: Fix debounce time to use microseconds

The debounce value in device tree is in milliseconds but needs to be in
microseconds for mmc_gpiod_request_cd().

Fixes: bfd694d5e21c ("mmc: core: Add tunable delay before detecting card
after card is inserted")
Cc: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/host.c