forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sh/boards/mach-ap325rxa/setup.c
....@@ -530,7 +530,7 @@
530530 device_initialize(&ap325rxa_ceu_device.dev);
531531 dma_declare_coherent_memory(&ap325rxa_ceu_device.dev,
532532 ceu_dma_membase, ceu_dma_membase,
533
- ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1);
533
+ CEU_BUFFER_MEMORY_SIZE);
534534
535535 platform_device_add(&ap325rxa_ceu_device);
536536