mmc: core: add background operations for eMMC card
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Mon, 24 Oct 2011 02:14:26 +0000 (10:14 +0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:21:19 +0000 (13:21 -0800)
commit74c7e3ca3f20fc614db5f0e49eb2ef2aa4e3370a
treef9f2ecb66c56e391250af2884588872e8fa0215f
parentd14e0c4c435bbcd710107d9ee24bb0f83d4d5ade
mmc: core: add background operations for eMMC card

Driver will check if need to do a BKOPS after completed each
user request. If BKOPS is need, then will start BKOPS when
request queue is idle.

So before start user request, driver should also check whether
card is doing a BKOPS. If so, check card status until BKOPS is done
or send HPI command is supported.

Change-Id: I204fab3d124c5a209cb0cc3a2915380a31c22b79
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/23123
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
drivers/mmc/card/queue.c
drivers/mmc/core/core.c
include/linux/mmc/card.h
include/linux/mmc/core.h
include/linux/mmc/mmc.h