linux/sound/soc/qcom/sm8250.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2020, Linaro Limited

#include <dt-bindings/sound/qcom,q6afe.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/pcm.h>
#include <linux/soundwire/sdw.h>
#include <sound/jack.h>
#include <linux/input-event-codes.h>
#include "qdsp6/q6afe.h"
#include "common.h"
#include "sdw.h"

#define DRIVER_NAME
#define MI2S_BCLK_RATE

struct sm8250_snd_data {};

static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd)
{}

static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
				     struct snd_pcm_hw_params *params)
{}

static int sm8250_snd_startup(struct snd_pcm_substream *substream)
{}

static void sm2450_snd_shutdown(struct snd_pcm_substream *substream)
{}

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

static int sm8250_snd_prepare(struct snd_pcm_substream *substream)
{}

static int sm8250_snd_hw_free(struct snd_pcm_substream *substream)
{}

static const struct snd_soc_ops sm8250_be_ops =;

static void sm8250_add_be_ops(struct snd_soc_card *card)
{}

static int sm8250_platform_probe(struct platform_device *pdev)
{}

static const struct of_device_id snd_sm8250_dt_match[] =;

MODULE_DEVICE_TABLE(of, snd_sm8250_dt_match);

static struct platform_driver snd_sm8250_driver =;
module_platform_driver();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();