On Fri, Nov 13, 2020 at 10:34:27AM -0800, Sowjanya Komatineni wrote: > > On 11/13/20 8:38 AM, Thierry Reding wrote: > > On Fri, Nov 13, 2020 at 01:53:30PM +0100, Wolfram Sang wrote: > > > 'busy_timeout' is in msecs, not in jiffies. Use the correct factor. > > > > > > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> > > > --- > > > > > > Not tested. Found by code investigation about 'busy_timeout'. A quick > > > grep showed no other problematic code within the MMC host drivers. > > > > > > drivers/mmc/host/sdhci-tegra.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Sowjanya, can you take a look at this? > > > > Thierry > > Thanks Wolfram. > > Right cmd busy_timeout is in msec and we have to enable ERASE_TIMEOUT_LIMIT > bit for more than 11s busy operations. > > So it should be MSEC_PER_SEC. Great, thanks! Acked-by: Thierry Reding <treding@xxxxxxxxxx> And perhaps also: Fixes: 5e958e4aacf4 ("sdhci: tegra: Implement Tegra specific set_timeout callback") Not sure it's worth adding the latter because this has been in Linux since 5.7 and I haven't heard of any issues. Thierry
Attachment:
signature.asc
Description: PGP signature