]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: Rename timeout parameters for clarification
authorSam Protsenko <semen.protsenko@linaro.org>
Wed, 14 Aug 2019 19:52:51 +0000 (22:52 +0300)
committerPeng Fan <peng.fan@nxp.com>
Thu, 5 Sep 2019 07:27:31 +0000 (15:27 +0800)
commitdcd14c61376eb8b940ae0385b38948b4c0b0b047
tree8723fbc9d9ffb828edbb71e0588d8f4d34797ede
parent01dd52c4060e64ff99472b7dd665f93f61c674dd
mmc: Rename timeout parameters for clarification

It's quite hard to figure out time units for various function that have
timeout parameters. This leads to possible errors when one forgets to
convert ms to us, for example. Let's rename those parameters
correspondingly to 'timeout_us' and 'timeout_ms' to prevent such issues
further.

While at it, add time units info as comments to struct mmc fields.

This commit doesn't change the behavior, only renames parameters names.
Buildman should report no changes at all.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c
drivers/mmc/mmc_write.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/renesas-sdhi.c
include/mmc.h