treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / samsung / dma.h
blob7b5d4556e0fd4250654b92a364d2cd5ee73ae8dc
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * ALSA PCM interface for the Samsung SoC
4 */
6 #ifndef _SAMSUNG_DMA_H
7 #define _SAMSUNG_DMA_H
9 #include <sound/dmaengine_pcm.h>
12 * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx",
13 * otherwise actual DMA channel names must be passed to this function.
15 int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter,
16 const char *tx, const char *rx,
17 struct device *dma_dev);
18 #endif /* _SAMSUNG_DMA_H */