aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/memstick.h
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2024-10-06 08:11:45 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-14 12:36:50 +0200
commit449f34a34088d02457fa0f3216747e8a35bc03ae (patch)
tree02058c5d43eb93956d1ba93a73b1645104190d0d /include/linux/memstick.h
parentmmc: core: Add Ext memory addressing for erase (diff)
downloadwireguard-linux-449f34a34088d02457fa0f3216747e8a35bc03ae.tar.xz
wireguard-linux-449f34a34088d02457fa0f3216747e8a35bc03ae.zip
mmc: core: Adjust ACMD22 to SDUC
ACMD22 is used to verify the previously write operation. Normally, it returns the number of written sectors as u32. SDUC, however, returns it as u64. This is not a superfluous requirement, because SDUC writes may exceeds 2TB. For Linux mmc however, the previously write operation could not be more than the block layer limits, thus we make room for a u64 and cast the returning value to u32. Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20241006051148.160278-8-avri.altman@wdc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [Stephen Rothwell: Fix build error when moving to new rc from Linus's tree] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/linux/memstick.h')
0 files changed, 0 insertions, 0 deletions