linux/sound/soc/samsung/odroid.c

// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2017 Samsung Electronics Co., Ltd.

#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/module.h>
#include <sound/soc.h>
#include <sound/pcm_params.h>
#include "i2s.h"
#include "i2s-regs.h"

struct odroid_priv {};

static int odroid_card_fe_startup(struct snd_pcm_substream *substream)
{}

static int odroid_card_fe_hw_params(struct snd_pcm_substream *substream,
				      struct snd_pcm_hw_params *params)
{}

static const struct snd_soc_ops odroid_card_fe_ops =;

static int odroid_card_be_hw_params(struct snd_pcm_substream *substream,
				      struct snd_pcm_hw_params *params)
{}

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

static const struct snd_soc_ops odroid_card_be_ops =;

/* DAPM routes for backward compatibility with old DTS */
static const struct snd_soc_dapm_route odroid_dapm_routes[] =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link odroid_card_dais[] =;

static int odroid_audio_probe(struct platform_device *pdev)
{}

static void odroid_audio_remove(struct platform_device *pdev)
{}

static const struct of_device_id odroid_audio_of_match[] =;
MODULE_DEVICE_TABLE(of, odroid_audio_of_match);

static struct platform_driver odroid_audio_driver =;
module_platform_driver();

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