summaryrefslogtreecommitdiff
path: root/include/android_bootloader_message.h
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-07-13 21:32:55 +0800
committerPeng Fan <[email protected]>2026-07-29 11:15:55 +0800
commit648263b69c329d157d2a28f6b74172640e611533 (patch)
treeba78160d28f3654a53bd995727b102141d163044 /include/android_bootloader_message.h
parentb95ce3f0945cac05c09a1837ea2401df78d766d4 (diff)
mmc: fix mmc_bwrite() ignoring host get_b_max() callback
mmc_bwrite() uses mmc->cfg->b_max directly to limit per-transfer block count. The read path (mmc_bread()) correctly calls mmc_get_b_max() which dispatches to the host driver get_b_max() callback. This callback allows host drivers to enforce DMA boundary constraints based on the buffer address. Fix mmc_bwrite() to use mmc_get_b_max() to match the read path. This requires removing the static qualifier from the non-DM mmc_get_b_max() and adding its declaration to mmc_private.h. Reviewed-by: Tanmay Kathpalia <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include/android_bootloader_message.h')
0 files changed, 0 insertions, 0 deletions