commit | 03020a9520c9e2d8504cc33d6ceacd9378929de9 | [log] [tgz] |
---|---|---|
author | Faiz Abbas <faiz_abbas@ti.com> | Tue Sep 19 16:53:50 2017 +0530 |
committer | Simon Glass <sjg@chromium.org> | Sun Oct 08 20:41:09 2017 -0600 |
tree | 27f6dfd9254f78a745b11e252800415ff4cb2eaa | |
parent | cc5c349f881069d4e5c1b3792ad0532e6229ed09 [diff] |
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. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>