bbcdb69dfc
Now that the fsl DAI drivers uses the same semantics as the rest of a ASoC the custom fsl_asoc_xlate_tdm_slot_mask() callback can be removed as it is identical to the generic one. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
26 lines
666 B
C
26 lines
666 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 */
|