diff options
author | Ashok Reddy Soma <ashok.reddy.soma@amd.com> | 2023-09-15 08:47:58 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-09-21 13:20:12 +0200 |
commit | 638189ddeaa5dccee9466bc772fa5655218f530b (patch) | |
tree | 74d7590b68350ad3ccefd06da6f817687fe140de /drivers/core/root.c | |
parent | 8750d35ee295b0713d621a7d667515ef63fca246 (diff) |
spi: zynqmp_qspi: Change flush cache to invalidate cache
Before DMA read, ideally cache should be invalidated, so that data from
memory will be updated to cache after DMA is completed. But
flush_dcache_range is being used which is incorrect. Change
flush_dcache_range to invalidate_dcache_range.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230915031759.28889-2-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/core/root.c')
0 files changed, 0 insertions, 0 deletions