treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / fsl / fsl_utils.h
blobc5dc2a14b492ccb42e1ac65c7d1c6c82c03d1b3a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Freescale ALSA SoC Machine driver utility
5 * Author: Timur Tabi <timur@freescale.com>
7 * Copyright 2010 Freescale Semiconductor, Inc.
8 */
10 #ifndef _FSL_UTILS_H
11 #define _FSL_UTILS_H
13 #define DAI_NAME_SIZE 32
15 struct snd_soc_dai_link;
16 struct device_node;
18 int fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name,
19 struct snd_soc_dai_link *dai,
20 unsigned int *dma_channel_id,
21 unsigned int *dma_id);
22 #endif /* _FSL_UTILS_H */