linux/sound/soc/codecs/pcm3008.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * ALSA Soc PCM3008 codec support
 *
 * Author:	Hugo Villeneuve
 * Copyright (C) 2008 Lyrtech inc
 *
 * Based on AC97 Soc codec, original copyright follow:
 * Copyright 2005 Wolfson Microelectronics PLC.
 *
 * Generic PCM3008 support.
 */

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>

#include "pcm3008.h"

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

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

static const struct snd_soc_dapm_widget pcm3008_dapm_widgets[] =;

static const struct snd_soc_dapm_route pcm3008_dapm_routes[] =;

#define PCM3008_RATES

static struct snd_soc_dai_driver pcm3008_dai =;

static const struct snd_soc_component_driver soc_component_dev_pcm3008 =;

static int pcm3008_codec_probe(struct platform_device *pdev)
{}

MODULE_ALIAS();

static struct platform_driver pcm3008_codec_driver =;

module_platform_driver();

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