#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/clk.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include "fsl_sai.h"
#include "fsl_audmix.h"
struct imx_audmix { … };
static const u32 imx_audmix_rates[] = …;
static const struct snd_pcm_hw_constraint_list imx_audmix_rate_constraints = …;
static int imx_audmix_fe_startup(struct snd_pcm_substream *substream)
{ … }
static int imx_audmix_fe_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static int imx_audmix_be_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops imx_audmix_fe_ops = …;
static const struct snd_soc_ops imx_audmix_be_ops = …;
static const char *name[][3] = …;
static int imx_audmix_probe(struct platform_device *pdev)
{ … }
static struct platform_driver imx_audmix_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_ALIAS(…) …;
MODULE_LICENSE(…) …;