projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce1873
)
Blackfin arch: add get_dma_config() func to match set_dma_config()
author
Mike Frysinger
<vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:38 +0000
(23:14 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:38 +0000
(23:14 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/dma.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/include/asm/dma.h
b/arch/blackfin/include/asm/dma.h
index 30595bf3ccbd1ff9ff28dbd063b7b6702c28fbcd..e4f7b8043f025335d4acf2f2dc95c37e58d16ca4 100644
(file)
--- a/
arch/blackfin/include/asm/dma.h
+++ b/
arch/blackfin/include/asm/dma.h
@@
-195,6
+195,10
@@
static inline void *get_dma_curr_desc_ptr(unsigned int channel)
{
return dma_ch[channel].regs->curr_desc_ptr;
}
+static inline unsigned short get_dma_config(unsigned int channel)
+{
+ return dma_ch[channel].regs->cfg;
+}
static inline unsigned long get_dma_curr_addr(unsigned int channel)
{
return dma_ch[channel].regs->curr_addr_ptr;