Skip to content

Commit bdf933c

Browse files
P33Mpelwell
authored andcommitted
Revert "mmc: sd: halt CQHCI before issuing a cache flush command"
__mmc_start_request turns CQE off before issuing the actual command so this additional call is redundant. This reverts commit 8e40644.
1 parent b80d5d1 commit bdf933c

File tree

1 file changed

+0
-8
lines changed
  • drivers/mmc/core

1 file changed

+0
-8
lines changed

drivers/mmc/core/sd.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,14 +1273,6 @@ static int sd_flush_cache(struct mmc_host *host)
12731273

12741274
reg_buf = card->ext_reg_buf;
12751275

1276-
/*
1277-
* Flushing requires sending CMD49 (adtc), which can't be done as a DCMD
1278-
* and conflicts with CQHCI - temporarily turn CQE off to use the SDHCI
1279-
* command/argument registers.
1280-
*/
1281-
if (host->cqe_on)
1282-
host->cqe_ops->cqe_off(host);
1283-
12841276
/*
12851277
* Set Flush Cache at bit 0 in the performance enhancement register at
12861278
* 261 bytes offset.

0 commit comments

Comments
 (0)