[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 1/6] hw/sd/aspeed_sdhci: Fix coding style
From: |
Jamin Lin |
Subject: |
[PATCH v4 1/6] hw/sd/aspeed_sdhci: Fix coding style |
Date: |
Wed, 4 Dec 2024 16:44:48 +0800 |
Fix coding style issues from checkpatch.pl.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
---
hw/sd/aspeed_sdhci.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/sd/aspeed_sdhci.c b/hw/sd/aspeed_sdhci.c
index 98d5460905..acd6538261 100644
--- a/hw/sd/aspeed_sdhci.c
+++ b/hw/sd/aspeed_sdhci.c
@@ -87,10 +87,12 @@ static void aspeed_sdhci_write(void *opaque, hwaddr addr,
uint64_t val,
sdhci->regs[TO_REG(addr)] = (uint32_t)val & ~ASPEED_SDHCI_INFO_RESET;
break;
case ASPEED_SDHCI_SDIO_140:
- sdhci->slots[0].capareg = deposit64(sdhci->slots[0].capareg, 0, 32,
val);
+ sdhci->slots[0].capareg = deposit64(sdhci->slots[0].capareg,
+ 0, 32, val);
break;
case ASPEED_SDHCI_SDIO_144:
- sdhci->slots[0].capareg = deposit64(sdhci->slots[0].capareg, 32, 32,
val);
+ sdhci->slots[0].capareg = deposit64(sdhci->slots[0].capareg,
+ 32, 32, val);
break;
case ASPEED_SDHCI_SDIO_148:
sdhci->slots[0].maxcurr = deposit64(sdhci->slots[0].maxcurr,
--
2.34.1
- [PATCH v4 0/6] Support SDHCI and eMMC for ast2700, Jamin Lin, 2024/12/04
- [PATCH v4 1/6] hw/sd/aspeed_sdhci: Fix coding style,
Jamin Lin <=
- [PATCH v4 2/6] hw/arm/aspeed: Fix coding style, Jamin Lin, 2024/12/04
- [PATCH v4 3/6] hw:sdhci: Introduce a new "capareg" class member to set the different Capability Registers, Jamin Lin, 2024/12/04
- [PATCH v4 4/6] hw/sd/aspeed_sdhci: Add AST2700 Support, Jamin Lin, 2024/12/04
- [PATCH v4 5/6] aspeed/soc: Support SDHCI for AST2700, Jamin Lin, 2024/12/04
- [PATCH v4 6/6] aspeed/soc: Support eMMC for AST2700, Jamin Lin, 2024/12/04
- Re: [PATCH v4 0/6] Support SDHCI and eMMC for ast2700, Cédric Le Goater, 2024/12/09