Skip to content
Snippets Groups Projects
Commit 1d71926b authored by Tony Lindgren's avatar Tony Lindgren Committed by Ulf Hansson
Browse files

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: bfd694d5 ("mmc: core: Add tunable delay before detecting card
after card is inserted")
Cc: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2ea15030
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment