Skip to contentSkip to conversation

mmc: Use get/put_unaligned_* helpers

PATCH In review Harvey Harrison 1 participant 1 message Apr 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/15 mmc: Use get/put_unaligned_* helpers

---
 drivers/mmc/host/mmc_spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/host/mmc_spi.c +1 -1
index 365024b..3550858 100644
@@ -340,7 +340,7 @@ checkstatus:
 
 	/* SPI R3, R4, or R7 == R1 + 4 bytes */
 	case MMC_RSP_SPI_R3:
-		cmd->resp[1] = be32_to_cpu(get_unaligned((u32 *)cp));
+		cmd->resp[1] = get_unaligned_be32(cp);
 		break;
 
 	/* SPI R1 == just one status byte */
Signature · 1 line
1.5.5.144.g3e42