From deaf85a9f011155132fa497a7e6db6ba5645aa34 Mon Sep 17 00:00:00 2001 From: SamulKyull <166363804+SamulKyull@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:32:04 +0800 Subject: [PATCH] Update cqhci-core.c --- bsp/drivers/mmc/cqhci-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/drivers/mmc/cqhci-core.c b/bsp/drivers/mmc/cqhci-core.c index e70df7b06d..52c50a796e 100644 --- a/bsp/drivers/mmc/cqhci-core.c +++ b/bsp/drivers/mmc/cqhci-core.c @@ -954,7 +954,7 @@ irqreturn_t cqhci_irq(struct mmc_host *mmc, u32 intmask, int cmd_error, if ((status & (CQHCI_IS_RED | CQHCI_IS_GCE | CQHCI_IS_ICCE)) || cmd_error || data_error) { -#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 137) && defined (CONFIG_AW_KERNEL_AOSP))) || +#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 137) && defined (CONFIG_AW_KERNEL_AOSP))) || \ ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) && defined (CONFIG_AW_KERNEL_ORIGIN))) if (status & CQHCI_IS_RED) mmc_debugfs_err_stats_inc(mmc, MMC_ERR_CMDQ_RED);