hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/sh/boards/mach-ecovec24/setup.c
....@@ -1454,15 +1454,13 @@
14541454 device_initialize(&ecovec_ceu_devices[0]->dev);
14551455 dma_declare_coherent_memory(&ecovec_ceu_devices[0]->dev,
14561456 ceu0_dma_membase, ceu0_dma_membase,
1457
- ceu0_dma_membase +
1458
- CEU_BUFFER_MEMORY_SIZE - 1);
1457
+ CEU_BUFFER_MEMORY_SIZE);
14591458 platform_device_add(ecovec_ceu_devices[0]);
14601459
14611460 device_initialize(&ecovec_ceu_devices[1]->dev);
14621461 dma_declare_coherent_memory(&ecovec_ceu_devices[1]->dev,
14631462 ceu1_dma_membase, ceu1_dma_membase,
1464
- ceu1_dma_membase +
1465
- CEU_BUFFER_MEMORY_SIZE - 1);
1463
+ CEU_BUFFER_MEMORY_SIZE);
14661464 platform_device_add(ecovec_ceu_devices[1]);
14671465
14681466 gpiod_add_lookup_table(&cn12_power_gpiod_table);