Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 926D42ECEBF for ; Fri, 4 Jul 2025 09:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751620367; cv=none; b=JWorb3mdc8LpOQOpKkCpshoq5eqipg6IGdtIzE6kDM1HBZj+2NABAlXLUbdD9AHNySiVckEB4wrWja/UmT4xEalj1nbFs+QN/VSZM32G0QMZKUyijYQfQFQ843unXbvDeEvB+XEmmAemncKpxxv/A49daxOdv+nFBtxTd3xj3pM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751620367; c=relaxed/simple; bh=wtdQHLdtNfQbbZaR3WOmh6GSRNMjh/xhLIu3l6GEFVE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HAfyCjlTyiUIfUwp8xT+xuYpI1WXRQPNo7fQxFqWT0H6fnuVqB/Q/E5pHsOHaG/BSXnKb13VSdSpQbWAo1W30j0mEZQGzz0KFREbvSo3mUXQJE67xLvxejzZdp0J8MPOzw2fFd9TxKwMwaRbk84OlAlPL55e6Cdtoru80NQV24A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9AFD01A141E; Fri, 4 Jul 2025 11:03:50 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 605711A0713; Fri, 4 Jul 2025 11:03:50 +0200 (CEST) Received: from local (lsvm11u0000469.swis.ap-northeast-2.aws.nxp.com [10.52.9.123]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 021B21800096; Fri, 4 Jul 2025 17:03:48 +0800 (+08) From: Rex Chen To: ulf.hansson@linaro.org Cc: conor.dooley@microchip.com, bartosz.golaszewski@linaro.org, viro@zeniv.linux.org.uk, linux-mmc@vger.kernel.org, avri.altman@wdc.com, shawn.lin@rock-chips.com, adrian.hunter@intel.com, wsa+renesas@sang-engineering.com, rex.chen_1@nxp.com Subject: [PATCH v2 2/2] mmc: mmc_spi: multiple block read remove read crc ack Date: Fri, 4 Jul 2025 18:03:40 +0900 Message-Id: <20250704090340.2231041-3-rex.chen_1@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250704090340.2231041-1-rex.chen_1@nxp.com> References: <20250704090340.2231041-1-rex.chen_1@nxp.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Multiple block read doesn't need to read crc ack, so remove it. Signed-off-by: Rex Chen --- drivers/mmc/host/mmc_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c index 47443fb5eb33..f42d5f9c48c1 100644 --- a/drivers/mmc/host/mmc_spi.c +++ b/drivers/mmc/host/mmc_spi.c @@ -563,7 +563,7 @@ mmc_spi_setup_data_message(struct mmc_spi_host *host, bool multiple, bool write) * the next token (next data block, or STOP_TRAN). We can try to * minimize I/O ops by using a single read to collect end-of-busy. */ - if (multiple || write) { + if (write) { t = &host->early_status; memset(t, 0, sizeof(*t)); t->len = write ? sizeof(scratch->status) : 1; -- 2.25.1