android_kernel_xiaomi_sm8350/drivers/mmc
Pierre Ossman ad3868b2ec mmc,sdio: helper function for transfer padding
There are a lot of crappy controllers out there that cannot handle
all the request sizes that the MMC/SD/SDIO specifications require.
In case the card driver can pad the data to overcome the problems,
this commit adds a helper that calculates how much that padding
should be.

A corresponding helper is also added for SDIO, but it can also deal
with all the complexities of splitting up a large transfer efficiently.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-15 14:14:44 +02:00
..
card mmc_test: add test case control 2008-07-15 14:14:40 +02:00
core mmc,sdio: helper function for transfer padding 2008-07-15 14:14:44 +02:00
host au1xmmc: remove custom carddetect poll implementation. 2008-07-15 14:14:44 +02:00
Kconfig
Makefile