linux/sound/soc/soc-link.c

// SPDX-License-Identifier: GPL-2.0
//
// soc-link.c
//
// Copyright (C) 2019 Renesas Electronics Corp.
// Kuninori Morimoto <[email protected]>
//
#include <sound/soc.h>
#include <sound/soc-link.h>

#define soc_link_ret(rtd, ret)
static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd,
				const char *func, int ret)
{}

/*
 * We might want to check substream by using list.
 * In such case, we can update these macros.
 */
#define soc_link_mark_push(rtd, substream, tgt)
#define soc_link_mark_pop(rtd, substream, tgt)
#define soc_link_mark_match(rtd, substream, tgt)

int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd)
{}

void snd_soc_link_exit(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 rollback)
{}

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 rollback)
{}

static int soc_link_trigger(struct snd_pcm_substream *substream, int cmd)
{}

int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
			 int rollback)
{}

int snd_soc_link_compr_startup(struct snd_compr_stream *cstream)
{}
EXPORT_SYMBOL_GPL();

void snd_soc_link_compr_shutdown(struct snd_compr_stream *cstream,
				 int rollback)
{}
EXPORT_SYMBOL_GPL();

int snd_soc_link_compr_set_params(struct snd_compr_stream *cstream)
{}
EXPORT_SYMBOL_GPL();