diff --git a/repos/dde_linux/src/drivers/usb_host/spec/arm/platform.cc b/repos/dde_linux/src/drivers/usb_host/spec/arm/platform.cc index 232e834f04..667a3938c9 100644 --- a/repos/dde_linux/src/drivers/usb_host/spec/arm/platform.cc +++ b/repos/dde_linux/src/drivers/usb_host/spec/arm/platform.cc @@ -190,9 +190,9 @@ void backend_alloc_init(Env & env, Ram_allocator&, Allocator&) } -Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache) +Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache cache) { - return resource_env().platform.alloc_dma_buffer(size, UNCACHED); + return resource_env().platform.alloc_dma_buffer(size, cache); }