mmc: card: Issue BKOPS when queue is empty
authorShridhar Rasal <srasal@nvidia.com>
Wed, 25 Jan 2012 13:19:32 +0000 (18:19 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 10 Feb 2012 21:12:23 +0000 (13:12 -0800)
commitb4a02aa8aaf1ce825f4b7b44851e7e7b6deeaec4
tree8c9d5a6f7445d1ddafd9295310eb890e07a42f9f
parent506e63fcfb563581c4a0417d424e36a75cf51acf
mmc: card: Issue BKOPS when queue is empty

Issue BKOPS when the request queue is empty.
Before handling any new request, issue HPI
if bkops is being performed.

bug 919232

Originally reviewed on http://git-master/r/69779

Change-Id: Ic9258ebfea7f9cde96525371a5ef9d6d003ebf2f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/77335
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/mmc/card/block.c
drivers/mmc/card/queue.c