mmc: cmdq: disable bkops exception for auto bkops
The bkops exception handling will ignore cases when auto bkops is enabled. As such, limiting the enablement of the exception in cmdq mode to when manual bkops is enabled yet auto bkops is not. Change-Id: Icc158cf2c7a2dda6e8b9f1eee8a5924e14330d1f Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
This commit is contained in:
parent
ee08ef262b
commit
63d9f77d9f
1 changed files with 2 additions and 1 deletions
|
@ -343,7 +343,8 @@ static int cmdq_enable(struct mmc_host *mmc)
|
|||
CQSSC1);
|
||||
|
||||
/* enable bkops exception indication */
|
||||
if (mmc_card_configured_manual_bkops(mmc->card))
|
||||
if (mmc_card_configured_manual_bkops(mmc->card) &&
|
||||
!mmc_card_configured_auto_bkops(mmc->card))
|
||||
cmdq_writel(cq_host, cmdq_readl(cq_host, CQRMEM) | CQ_EXCEPTION,
|
||||
CQRMEM);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue