On 9/30/21 12:52 PM, Jaegeuk Kim wrote:
Commit 57d104c153d3 ("ufs: add UFS power management support") made the UFS driver submit a REQUEST SENSE command before submitting a power management command to a WLUN to clear the POWER ON unit attention. Instead of submitting a REQUEST SENSE command before submitting a power management command, retry the power management command until it succeeds.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>