diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-04-14 18:14:11 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-28 11:21:02 +0200 |
commit | 78a67b9224ade6da7d2d83c23a9858cb4dfcd64a (patch) | |
tree | 9a7edb204037c9e89238d9a3631432432d868d12 /include/linux/compiler_attributes.h | |
parent | 966244ccd2919e28f25555a77f204cd1c109cad8 (diff) |
mmc: mmc_spi: Add/rename defines for timeouts
Clarify the use of r1b_timeout, by renaming it to MMC_SPI_R1B_TIMEOUT_MS
and by dropping the corresponding confusing comment about it.
Additionally, let's also add a new define, MMC_SPI_INIT_TIMEOUT_MS and use
it during the initialization. Even if these two defines are given the same
value, the split makes it easier to understand them.
Cc: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20200414161413.3036-18-ulf.hansson@linaro.org
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions