diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2017-09-19 16:53:50 +0530 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-10-08 20:41:09 -0600 |
commit | 5924da1dfe56d32a45b8adf29bdc8caf788bd4c8 (patch) | |
tree | 27f6dfd9254f78a745b11e252800415ff4cb2eaa /drivers/power/domain | |
parent | ae06a1b9960aa97bd876840ebdb644c2952cd482 (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>
Diffstat (limited to 'drivers/power/domain')
0 files changed, 0 insertions, 0 deletions