linux/sound/soc/mediatek/common/mtk-soundcard-driver.c

// SPDX-License-Identifier: GPL-2.0
/*
 * mtk-soundcard-driver.c  --  MediaTek soundcard driver common
 *
 * Copyright (c) 2022 MediaTek Inc.
 * Author: Trevor Wu <[email protected]>
 */

#include <linux/module.h>
#include <linux/of.h>
#include <sound/soc.h>

#include "mtk-dsp-sof-common.h"
#include "mtk-soc-card.h"
#include "mtk-soundcard-driver.h"

static int set_card_codec_info(struct snd_soc_card *card,
			       struct device_node *sub_node,
			       struct snd_soc_dai_link *dai_link)
{}

static int set_dailink_daifmt(struct snd_soc_card *card,
			      struct device_node *sub_node,
			      struct snd_soc_dai_link *dai_link)
{}

int parse_dai_link_info(struct snd_soc_card *card)
{}
EXPORT_SYMBOL_GPL();

void clean_card_reference(struct snd_soc_card *card)
{}
EXPORT_SYMBOL_GPL();

int mtk_soundcard_startup(struct snd_pcm_substream *substream,
			  enum mtk_pcm_constraint_type ctype)
{}
EXPORT_SYMBOL_GPL();

static int mtk_soundcard_playback_startup(struct snd_pcm_substream *substream)
{}

const struct snd_soc_ops mtk_soundcard_common_playback_ops =;
EXPORT_SYMBOL_GPL();

static int mtk_soundcard_capture_startup(struct snd_pcm_substream *substream)
{}

const struct snd_soc_ops mtk_soundcard_common_capture_ops =;
EXPORT_SYMBOL_GPL();

int mtk_soundcard_common_probe(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();