mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
pc_usb_host: implement 'dma_pool_destroy'
Encountered on the Fuji5 where for reasons currently unknown the first xHCI HC (0:0d.0) could not be initialize due to incomplete interupt informations. The other HCs appear to work fine (tested with a USB low-speed mouse).
This commit is contained in:
parent
c6cc43f0e4
commit
afe02efb8f
@ -166,14 +166,6 @@ int dma_mmap_attrs(struct device * dev,struct vm_area_struct * vma,void * cpu_ad
|
||||
}
|
||||
|
||||
|
||||
#include <linux/dmapool.h>
|
||||
|
||||
void dma_pool_destroy(struct dma_pool * pool)
|
||||
{
|
||||
lx_emul_trace_and_stop(__func__);
|
||||
}
|
||||
|
||||
|
||||
#include <linux/printk.h>
|
||||
|
||||
asmlinkage __visible void dump_stack(void)
|
||||
|
@ -84,6 +84,12 @@ struct dma_pool * dma_pool_create(const char * name,
|
||||
}
|
||||
|
||||
|
||||
void dma_pool_destroy(struct dma_pool * pool)
|
||||
{
|
||||
kfree(pool);
|
||||
}
|
||||
|
||||
|
||||
void dma_pool_free(struct dma_pool * pool,void * vaddr,dma_addr_t dma)
|
||||
{
|
||||
lx_emul_mem_free(vaddr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user