msm: dma: add stub functions for dma features not yet present on 8x60
Signed-off-by: Daniel Walker <dwalker@codeaurora.org> Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
This commit is contained in:
Родитель
871c94a861
Коммит
4ca06de368
|
@ -32,10 +32,18 @@ struct msm_dmov_cmd {
|
||||||
void *data;
|
void *data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef CONFIG_ARCH_MSM8X60
|
||||||
void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd);
|
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);
|
void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful);
|
||||||
int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr);
|
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))
|
#define DMOV_SD0(off, ch) (MSM_DMOV_BASE + 0x0000 + (off) + ((ch) << 2))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче