> > The UFS specification says to set the IMMED (immediate) flag for the > Start/Stop Unit command when entering DeepSleep. However some UFS > devices object to that. Workaround that by retrying without IMMED. > Whichever possibility works, the result is recorded for the next > time. As aforesaid, this patch might not be needed once IMMED is set to 0. However, Any spec violation should come in a form of a quirk. The driver is not supposed to figure out the peculiarities of each vendor. Thanks Avri