forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/sh/boards/mach-kfr2r09/setup.c
....@@ -603,7 +603,7 @@
603603 device_initialize(&kfr2r09_ceu_device.dev);
604604 dma_declare_coherent_memory(&kfr2r09_ceu_device.dev,
605605 ceu_dma_membase, ceu_dma_membase,
606
- ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1);
606
+ CEU_BUFFER_MEMORY_SIZE);
607607
608608 platform_device_add(&kfr2r09_ceu_device);
609609