On Tue, 3 Jan 2023 at 14:50, Alexander Graf <ag...@csgraf.de> wrote: > > The dcache flushing code path was conditional on ARM && !DCACHE config > options. However, dcaches exist on other platforms as well and may need > clearing if their driver requires it. > > Simplify the compile logic and always enable the dcache flush logic in > the video core. That way, drivers can always rely on it to call the arch > specific callbacks. > > This will increase code size for non-ARM platforms with CONFIG_VIDEO=y > slightly. > > Reported-by: Heinrich Schuchardt <xypron.g...@gmx.de> > Signed-off-by: Alexander Graf <ag...@csgraf.de> > --- > drivers/video/video-uclass.c | 14 +++++--------- > 1 file changed, 5 insertions(+), 9 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>