mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
eab810f37f
dai_link related function should be implemented at soc-link.c. This patch adds snd_soc_link_compr_set_params(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/87sgfo3k6q.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
28 lines
1.0 KiB
C
28 lines
1.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0
|
|
*
|
|
* soc-link.h
|
|
*
|
|
* Copyright (C) 2019 Renesas Electronics Corp.
|
|
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
*/
|
|
#ifndef __SOC_LINK_H
|
|
#define __SOC_LINK_H
|
|
|
|
int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
|
|
int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
struct snd_pcm_hw_params *params);
|
|
|
|
int snd_soc_link_startup(struct snd_pcm_substream *substream);
|
|
void snd_soc_link_shutdown(struct snd_pcm_substream *substream);
|
|
int snd_soc_link_prepare(struct snd_pcm_substream *substream);
|
|
int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
|
|
struct snd_pcm_hw_params *params);
|
|
void snd_soc_link_hw_free(struct snd_pcm_substream *substream);
|
|
int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd);
|
|
|
|
int snd_soc_link_compr_startup(struct snd_compr_stream *cstream);
|
|
void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream);
|
|
int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream);
|
|
|
|
#endif /* __SOC_LINK_H */
|