Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321505
b: refs/heads/master
c: d9e0d14
h: refs/heads/master
i:
  321503: d5e7168
v: v3
  • Loading branch information
Aaro Koskinen authored and Marek Szyprowski committed Aug 9, 2012
1 parent d8cc86f commit 9e9776c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4ea6918c93b9f59d34e8ca2124b2b64b1afe73b
refs/heads/master: d9e0d149b5dcc2ef4688afc572b9906bcda941ef
4 changes: 2 additions & 2 deletions trunk/arch/arm/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,12 +648,12 @@ void arm_dma_free(struct device *dev, size_t size, void *cpu_addr,

if (arch_is_coherent() || nommu()) {
__dma_free_buffer(page, size);
} else if (__free_from_pool(cpu_addr, size)) {
return;
} else if (!IS_ENABLED(CONFIG_CMA)) {
__dma_free_remap(cpu_addr, size);
__dma_free_buffer(page, size);
} else {
if (__free_from_pool(cpu_addr, size))
return;
/*
* Non-atomic allocations cannot be freed with IRQs disabled
*/
Expand Down

0 comments on commit 9e9776c

Please sign in to comment.