Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: dm: core: Round up size when allocating so that it is cache…
… line aligned The size variable may not be always be a mulitple of ARCH_DMA_MINALIGN and using it to flush cache leads to cache misaligned warnings. Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN when allocating private data. Change-Id: I29c4fb89f4be628518c2f5350d3efbccd28acd36 Signed-off-by: Faiz Abbas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Kever Yang <[email protected]> (cherry picked from commit 5924da1)
- Loading branch information