linux/sound/soc/samsung/littlemill.c

// SPDX-License-Identifier: GPL-2.0+
//
// Littlemill audio support
//
// Copyright 2011 Wolfson Microelectronics

#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/jack.h>
#include <linux/gpio.h>
#include <linux/module.h>

#include "../codecs/wm8994.h"

static int sample_rate =;

static int littlemill_set_bias_level(struct snd_soc_card *card,
					  struct snd_soc_dapm_context *dapm,
					  enum snd_soc_bias_level level)
{}

static int littlemill_set_bias_level_post(struct snd_soc_card *card,
					       struct snd_soc_dapm_context *dapm,
					       enum snd_soc_bias_level level)
{}

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

static const struct snd_soc_ops littlemill_ops =;

static const struct snd_soc_pcm_stream baseband_params =;

SND_SOC_DAILINK_DEFS();

SND_SOC_DAILINK_DEFS();

static struct snd_soc_dai_link littlemill_dai[] =;

static int bbclk_ev(struct snd_soc_dapm_widget *w,
		    struct snd_kcontrol *kcontrol, int event)
{}

static const struct snd_kcontrol_new controls[] =;

static const struct snd_soc_dapm_widget widgets[] =;

static const struct snd_soc_dapm_route audio_paths[] =;

static struct snd_soc_jack littlemill_headset;
static struct snd_soc_jack_pin littlemill_headset_pins[] =;

static int littlemill_late_probe(struct snd_soc_card *card)
{}

static struct snd_soc_card littlemill =;

static int littlemill_probe(struct platform_device *pdev)
{}

static struct platform_driver littlemill_driver =;

module_platform_driver();

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