]> git.dujemihanovic.xyz Git - u-boot.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)
commit6cf8a903c5e6723104b07b0fddc4a703556e558a
tree8723fbc9d9ffb828edbb71e0588d8f4d34797ede
parent116cffeca6fe4de701d4cd5e2b5bfe5e0f1597a9
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