2 * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx
4 * Copyright (C) 2014 Texas Instruments, Inc.
6 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
8 * Based on: sound/soc/tegra/tegra_pcm.h
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
20 #ifndef __EDMA_PCM_H__
21 #define __EDMA_PCM_H__
23 #if IS_ENABLED(CONFIG_SND_EDMA_SOC)
24 int edma_pcm_platform_register(struct device
*dev
);
26 static inline int edma_pcm_platform_register(struct device
*dev
)
30 #endif /* CONFIG_SND_EDMA_SOC */
32 #endif /* __EDMA_PCM_H__ */