]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: zynq_sdhci: Change granularity of timeout to 1us
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 23 Feb 2022 14:13:31 +0000 (15:13 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Mar 2022 07:55:14 +0000 (08:55 +0100)
commitd6fe0216514f8701e88a7e58f110bedd1e10acb0
tree1f9afb0be2e7e6acfd8117a384c93327c8c36216
parent4f28d3e076a152634aff4669fba2dc8ea04b2382
mmc: zynq_sdhci: Change granularity of timeout to 1us

The timeout used in 'commit f00404e62f86 ("mmc: zynq_sdhci: Wait
till sd card detect state is stable")' workaround is 1000ms at a
granularity of 1msec. Change it to 1usec, to not waste time incase the
cd is stable.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/f008d2bcf864702a01564789f14f9cdecb8acd45.1645625609.git.michal.simek@xilinx.com
drivers/mmc/zynq_sdhci.c