linux/sound/soc/intel/avs/boards/hdaudio.c

// SPDX-License-Identifier: GPL-2.0-only
//
// Copyright(c) 2021-2022 Intel Corporation
//
// Authors: Cezary Rojewski <[email protected]>
//          Amadeusz Slawinski <[email protected]>
//

#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/hda_codec.h>
#include <sound/hda_i915.h>
#include <sound/soc.h>
#include <sound/soc-acpi.h>
#include "../../../codecs/hda.h"

static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count,
				const char *platform_name, struct snd_soc_dai_link **links)
{}

/* Should be aligned with SectionPCM's name from topology */
#define FEDAI_NAME_PREFIX

static struct snd_pcm *
avs_card_hdmi_pcm_at(struct snd_soc_card *card, int hdmi_idx)
{}

static int avs_card_late_probe(struct snd_soc_card *card)
{}

static int avs_probing_link_init(struct snd_soc_pcm_runtime *rtm)
{}

static const struct snd_soc_dai_link probing_link =;

static int avs_hdaudio_probe(struct platform_device *pdev)
{}

static const struct platform_device_id avs_hdaudio_driver_ids[] =;
MODULE_DEVICE_TABLE(platform, avs_hdaudio_driver_ids);

static struct platform_driver avs_hdaudio_driver =;

module_platform_driver()

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();