]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: sdhci-pci: Avoid comma separated statements
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 11 Mar 2021 10:14:32 +0000 (18:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:14:20 +0000 (18:14 +0100)
[ Upstream commit ba8734dfbe87b9dd68c9d525c0a3a52e8da42167 ]

Use semicolons.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20210311181432.6385cd2b@xhacker.debian
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: 9dc0033e4658 ("mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-pci-core.c

index a78b060ce847158505ae2cc2c4c3151feee69478..422ea3a1817a1ac51d77b8c25b146c30091c521a 100644 (file)
@@ -975,7 +975,7 @@ static int glk_emmc_probe_slot(struct sdhci_pci_slot *slot)
                slot->host->mmc->caps2 |= MMC_CAP2_CQE;
 
        if (slot->chip->pdev->device != PCI_DEVICE_ID_INTEL_GLK_EMMC) {
-               slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES,
+               slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES;
                slot->host->mmc_host_ops.hs400_enhanced_strobe =
                                                intel_hs400_enhanced_strobe;
                slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD;