RE: [PATCH v1 2/2] mmc: core: Allows to override the timeout value for ioctl() path

From: Avri Altman
Date: Sun Apr 24 2022 - 07:53:02 EST


>
> From: Bean Huo <beanhuo@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>
> Signed-off-by: Bean Huo <beanhuo@xxxxxxxxxx>
Acked-by: Avri Altman <avri.altman@xxxxxxx>