diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2024-09-30 14:44:26 +0200 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-10-14 08:55:28 +0200 |
commit | 589a7bf0febbe4d3ca319569a55f21cf06e85424 (patch) | |
tree | 214353d5f01dde0ca10acf04f554fd677fc2be19 /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | 4139e5680bcf3016561c8830d914ee0b0ab741d1 (diff) |
ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary
Now we have proper flush and invalidate helpers, we can use them
directly to operate on the scsi_cmd data.
Likewise, we do not need to flush then invalidate, just flush _or_
invalidate depending on the data direction.
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Tested-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tested-by: Julius Lehmann <lehmanju@devpi.de>
Link: https://lore.kernel.org/r/20240930-topic-ufs-enhancements-v3-4-58234f84ab89@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions