android_kernel_motorola_sm6375/drivers/mmc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Antonov 0a67c12621 mmc: moxart: read scr register without changing byte order
commit d44263222134b5635932974c6177a5cba65a07e8 upstream.

Conversion from big-endian to native is done in a common function
mmc_app_send_scr(). Converting in moxart_transfer_pio() is extra.
Double conversion on a LE system returns an incorrect SCR value,
leads to errors:

mmc0: unrecognised SCR structure version 8

Fixes: 1b66e94e6b ("mmc: moxart: Add MOXA ART SD/MMC driver")
Signed-off-by: Sergei Antonov <[email protected]>
Cc: Jonas Jensen <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-08-16 18:19:22 +02:00
..
core mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M 2023-07-27 08:37:25 +02:00
host mmc: moxart: read scr register without changing byte order 2023-08-16 18:19:22 +02:00
Kconfig
Makefile