linux/sound/soc/codecs/spdif_transmitter.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ALSA SoC SPDIF DIT driver
 *
 *  This driver is used by controllers which can operate in DIT (SPDI/F) where
 *  no codec is needed.  This file provides stub codec that can be used
 *  in these configurations. TI DaVinci Audio controller uses this driver.
 *
 * Author:      Steve Chen,  <[email protected]>
 * Copyright:   (C) 2009 MontaVista Software, Inc., <[email protected]>
 * Copyright:   (C) 2009  Texas Instruments, India
 */

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/slab.h>
#include <sound/soc.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <linux/of.h>

#define DRV_NAME

#define STUB_RATES
#define STUB_FORMATS

static const struct snd_soc_dapm_widget dit_widgets[] =;

static const struct snd_soc_dapm_route dit_routes[] =;

static struct snd_soc_component_driver soc_codec_spdif_dit =;

static struct snd_soc_dai_driver dit_stub_dai =;

static int spdif_dit_probe(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id spdif_dit_dt_ids[] =;
MODULE_DEVICE_TABLE(of, spdif_dit_dt_ids);
#endif

static struct platform_driver spdif_dit_driver =;

module_platform_driver();

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