> -----Original Message----- > From: linux-mmc-owner@xxxxxxxxxxxxxxx [mailto:linux-mmc- > owner@xxxxxxxxxxxxxxx] On Behalf Of Huijin Park > Sent: Tuesday, November 14, 2017 4:48 AM > To: ulf.hansson@xxxxxxxxxx > Cc: linux-mmc@xxxxxxxxxxxxxxx; bbang.huijin.park@xxxxxxxxx; Huijin Park > <huijin.park@xxxxxxxxxxx> > Subject: [PATCH] mmc: card: increase wait time > > Some eMMC products keep busy time a little longer intermittently. > (eg. prepare free blocks, garbage collection...) In this case, we recommend to > wait a little longer than fail. > > Signed-off-by: Huijin Park <huijin.park@xxxxxxxxxxx> > --- > drivers/mmc/core/block.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index > ea80ff4..b5b0fe6 100644 > --- a/drivers/mmc/core/block.c > +++ b/drivers/mmc/core/block.c > @@ -584,7 +584,7 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card > *card, struct mmc_blk_data *md, > * Ensure RPMB command has completed by polling CMD13 > * "Send Status". > */ > - err = ioctl_rpmb_card_status_poll(card, &status, 5); > + err = ioctl_rpmb_card_status_poll(card, &status, 50); Is this up to 1.25 sec or am I counting wrong? 5[msec] x 5 [__mmc_send_status] x 50 > if (err) > dev_err(mmc_dev(card->host), > "%s: Card Status=0x%08X, error > %d\n", > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the > body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at > http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html