mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mmc: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <[email protected]> Cc: David Brownell <[email protected]> Cc: Tony Jones <[email protected]> Cc: Pierre Ossman <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
858ad08cf4
commit
48b2cf9e29
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue