]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - sound/soc/ti/edma-pcm.h
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / sound / soc / ti / edma-pcm.h
CommitLineData
1802d0be 1/* SPDX-License-Identifier: GPL-2.0-only */
58726f58
PU
2/*
3 * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx
4 *
5 * Copyright (C) 2014 Texas Instruments, Inc.
6 *
7 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
8 *
9 * Based on: sound/soc/tegra/tegra_pcm.h
58726f58
PU
10 */
11
12#ifndef __EDMA_PCM_H__
13#define __EDMA_PCM_H__
14
f2055e14 15#if IS_ENABLED(CONFIG_SND_SOC_TI_EDMA_PCM)
58726f58 16int edma_pcm_platform_register(struct device *dev);
e8ffacee
PU
17#else
18static inline int edma_pcm_platform_register(struct device *dev)
19{
20 return 0;
21}
f2055e14 22#endif /* CONFIG_SND_SOC_TI_EDMA_PCM */
58726f58
PU
23
24#endif /* __EDMA_PCM_H__ */