[PATCH v1] mmc: core: Add support for idle time BKOPs

2012-09-19 Thread Maya Erez
When the mmcqd thread is idle, a delayed work is created to check the need for BKOPs. The time to start the delayed work is calculated based on the host controller suspend timeout, in case it was set. If not, a default time is used. If BKOPs is required in level 1, which is non-blocking, there

[PATCH v1] mmc: core: Add support for idle time BKOPs

2012-09-19 Thread Maya Erez
When the mmcqd thread is idle, a delayed work is created to check the need for BKOPs. The time to start the delayed work is calculated based on the host controller suspend timeout, in case it was set. If not, a default time is used. If BKOPs is required in level 1, which is non-blocking, there