Blackfin: dma-mapping: fix thinko in constant optimization
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 16 Dec 2009 07:52:52 +0000 (07:52 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:46 +0000 (00:30 -0500)
commita3a6a590190ca77aedf9de871d941c1139a5a24c
tree3fbc9066b9e1ce9de3b4f73b81467ec2f48d3262
parent0c270807db7c6478d60ab2bc23511fd5868a7a80
Blackfin: dma-mapping: fix thinko in constant optimization

Make sure the non-constant version of the dma_sync functions actually
complete instead of recursively calling itself forever.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/dma-mapping.h
arch/blackfin/kernel/dma-mapping.c