linux/sound/soc/codecs/es7241.c

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
//
// Copyright (c) 2018 BayLibre, SAS.
// Author: Jerome Brunet <[email protected]>

#include <linux/gpio/consumer.h>
#include <linux/of_platform.h>
#include <linux/module.h>
#include <sound/soc.h>

struct es7241_clock_mode {};

struct es7241_chip {};

struct es7241_data {};

static void es7241_set_mode(struct es7241_data *priv,  int m0, int m1)
{}

static int es7241_set_consumer_mode(struct es7241_data *priv,
				    const struct es7241_clock_mode *mode,
				    unsigned int mfs)
{}

static int es7241_set_provider_mode(struct es7241_data *priv,
				    const struct es7241_clock_mode *mode,
				    unsigned int mfs)
{}

static int es7241_hw_params(struct snd_pcm_substream *substream,
			    struct snd_pcm_hw_params *params,
			    struct snd_soc_dai *dai)
{}

static int es7241_set_sysclk(struct snd_soc_dai *dai, int clk_id,
			     unsigned int freq, int dir)
{}

static int es7241_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{}

static const struct snd_soc_dai_ops es7241_dai_ops =;

static struct snd_soc_dai_driver es7241_dai =;

static const struct es7241_clock_mode es7241_modes[] =;

static const struct es7241_chip es7241_chip __maybe_unused =;

static const struct snd_soc_dapm_widget es7241_dapm_widgets[] =;

static const struct snd_soc_dapm_route es7241_dapm_routes[] =;

static const struct snd_soc_component_driver es7241_component_driver =;

static void es7241_parse_fmt(struct device *dev, struct es7241_data *priv)
{}

static int es7241_probe(struct platform_device *pdev)
{}

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

static struct platform_driver es7241_driver =;

module_platform_driver();

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