]> www.infradead.org Git - users/dwmw2/linux.git/commit
mmc: dw_mmc: allow biu and ciu clocks to defer
authorBen Whitten <ben.whitten@gmail.com>
Sun, 11 Aug 2024 21:22:11 +0000 (22:22 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Aug 2024 11:23:46 +0000 (13:23 +0200)
commit6275c7bc8dd07644ea8142a1773d826800f0f3f7
tree898c0beb540795ee1e19846b8b184ad270000a63
parent9374ae912dbb1eed8139ed75fd2c0f1b30ca454d
mmc: dw_mmc: allow biu and ciu clocks to defer

Fix a race condition if the clock provider comes up after mmc is probed,
this causes mmc to fail without retrying.
When given the DEFER error from the clk source, pass it on up the chain.

Fixes: f90a0612f0e1 ("mmc: dw_mmc: lookup for optional biu and ciu clocks")
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240811212212.123255-1-ben.whitten@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c