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

From: Linus Walleij
Date: Tue Apr 26 2022 - 11:36:34 EST


On Tue, Apr 26, 2022 at 3:55 PM Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
> On Sun, 24 Apr 2022 at 00:16, Bean Huo <huobean@xxxxxxxxx> wrote:
> >
> > 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>
>
> Applied for next, thanks!
>
> Linus, I interpreted your earlier reply as a reviewed-by tag, so I
> have added that. Please tell me, if you want me to drop it.

That's fine, sorry for being unclear!

Yours,
Linus Walleij