Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212615
b: refs/heads/master
c: 4ca06de
h: refs/heads/master
i:
  212613: cef52be
  212611: 486c005
  212607: 4b37124
v: v3
  • Loading branch information
Daniel Walker committed Oct 8, 2010
1 parent f6cacc3 commit d8afd6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 871c94a8612f6b13193752c765617cfe68a038d3
refs/heads/master: 4ca06de368ddfaee47983d3d1f9eec9e2a6c23d4
10 changes: 9 additions & 1 deletion trunk/arch/arm/mach-msm/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ struct msm_dmov_cmd {
void *data;
};

#ifndef CONFIG_ARCH_MSM8X60
void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd);
void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful);
int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr);

#else
static inline
void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd) { }
static inline
void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful) { }
static inline
int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr) { return -EIO; }
#endif


#define DMOV_SD0(off, ch) (MSM_DMOV_BASE + 0x0000 + (off) + ((ch) << 2))
Expand Down

0 comments on commit d8afd6c

Please sign in to comment.