8064: mmc: Disable CMD23 support for virtio

To enable CMD23, the controller must send AUTO_PROG_DONE status for
multi block write command CMD25.  The SDCC controller on Virtio doesn't
send this AUTO_PROG_DONE status. As a temporary workaround disable CMD23
only on virtio platforms.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index b980377..aed3f64 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -3624,7 +3624,7 @@
 	 * status is to use the AUTO_PROG_DONE status provided by SDCC4
 	 * controller. So let's enable the CMD23 for SDCC4 only.
 	 */
-	if (host->plat->sdcc_v4_sup)
+	if (!plat->disable_cmd23 && host->plat->sdcc_v4_sup)
 		mmc->caps |= MMC_CAP_CMD23;
 
 	mmc->caps |= plat->uhs_caps;