[PATCH v1 2/2] mmc: core: Let sanitize not retry in case of timeout/failure

2021-04-14 Thread Bean Huo
From: Bean Huo Not any commands need to retry in case of timeout/failure. Currently, the sanitize command is issued by the IOCTL interface, and once its timeouts, the user normally decides to retry or not . Just blindly retry three times sanitize in the driver, it doesn't help sanitize retry succ

[PATCH v1 2/2] mmc: core: Let sanitize not retry in case of timeout/failure

2021-04-01 Thread Bean Huo
From: Bean Huo Not any commands need to retry in case of timeout/failure. Currently, the sanitize command is issued by the IOCTL interface, and once its timeouts, the user normally decides to retry or not . Just blindly retry three times sanitize in the driver, it doesn't help sanitize retry succ