Skip to content
Commit 23e09be2 authored by Bean Huo's avatar Bean Huo Committed by Ulf Hansson
Browse files

mmc: core: Allows to override the timeout value for ioctl() path



Occasionally, user-land applications initiate longer timeout values for certain commands
through ioctl() system call. But so far we are still using a fixed timeout of 10 seconds
in mmc_poll_for_busy() on the ioctl() path, even if a custom timeout is specified in the
userspace application. This patch allows custom timeout values to override this default
timeout values on the ioctl path.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Acked-by: default avatarAvri Altman <avri.altman@wdc.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220423221623.1074556-3-huobean@gmail.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 897ae3fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment