Flash based storage devices might need to perform the internal Background Operations (BKOPS) in order to insure better performance for the next coming IO. Following the discussion in the mmc thread: www.spinics.net/lists/linux-mmc/msg37779.html To let the device complete its BKOPS during Runtime Suspend, we suggest to check the BKOPS level. In case the device need to complete its BKOPS, reschedule the Runtime Suspend. This patches replaces original patches submitted by Alex Lemberg <alex.lemberg@xxxxxxxxxxx> [1/3] mmc: replacing hardcoded value for runtime PM suspend(patch removed) [2/3] mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support(made changes) [3/3] mmc: Checking BKOPS status prior to Suspend(made changes) Uri Yanai (3): mmc: MAN_BKOPS_EN inverse debug message logic mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support mmc: Checking BKOPS status prior to Suspend drivers/mmc/core/mmc.c | 40 +++++++++++++++++++++++++++++++++------- include/linux/mmc/card.h | 1 + include/linux/mmc/mmc.h | 1 + 3 files changed, 35 insertions(+), 7 deletions(-) -- 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