mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
8f549d7e77
The ASoC core now can support matching codec with device node besides name, so we can save helper function fsl_asoc_get_codec_dev_name. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
26 lines
667 B
C
26 lines
667 B
C
/**
|
|
* Freescale ALSA SoC Machine driver utility
|
|
*
|
|
* Author: Timur Tabi <timur@freescale.com>
|
|
*
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef _FSL_UTILS_H
|
|
#define _FSL_UTILS_H
|
|
|
|
#define DAI_NAME_SIZE 32
|
|
|
|
struct snd_soc_dai_link;
|
|
struct device_node;
|
|
|
|
int fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name,
|
|
struct snd_soc_dai_link *dai,
|
|
unsigned int *dma_channel_id,
|
|
unsigned int *dma_id);
|
|
|
|
#endif /* _FSL_UTILS_H */
|