mmc: core: Align to common busy polling behaviour for mmc ioctls
[ Upstream commit 51f5b305 ] Let's align to the common busy polling behaviour for mmc ioctls, by updating the below two corresponding parts, that comes into play when using an R1B response for a command. *) A command with an R1B response should be prepared by calling mmc_prepare_busy_cmd(), which make us respects the host's busy timeout constraints. **) When an R1B response is being used and the host also supports HW busy detection, we should skip to poll for busy completion. Suggested-by:Christian Loehle <cloehle@hyperstone.com> Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by:
Christian Loehle <cloehle@hyperstone.com> Link: https://lore.kernel.org/r/20230213133707.27857-1-ulf.hansson@linaro.org Stable-dep-of: f19c5a73 ("mmc: core: Fix error propagation for some ioctl commands") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment