linux/sound/soc/qcom/lpass-sc7180.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 *
 * lpass-sc7180.c -- ALSA SoC platform-machine driver for QTi LPASS
 */

#include <linux/clk.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <dt-bindings/sound/sc7180-lpass.h>
#include <sound/pcm.h>
#include <sound/soc.h>

#include "lpass-lpaif-reg.h"
#include "lpass.h"

static struct snd_soc_dai_driver sc7180_lpass_cpu_dai_driver[] =;

static int sc7180_lpass_alloc_dma_channel(struct lpass_data *drvdata,
					   int direction, unsigned int dai_id)
{}

static int sc7180_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id)
{}

static int sc7180_lpass_init(struct platform_device *pdev)
{}

static int sc7180_lpass_exit(struct platform_device *pdev)
{}

static int __maybe_unused sc7180_lpass_dev_resume(struct device *dev)
{}

static int __maybe_unused sc7180_lpass_dev_suspend(struct device *dev)
{}

static const struct dev_pm_ops sc7180_lpass_pm_ops =;

static const struct lpass_variant sc7180_data =;

static const struct of_device_id sc7180_lpass_cpu_device_id[] __maybe_unused =;
MODULE_DEVICE_TABLE(of, sc7180_lpass_cpu_device_id);

static struct platform_driver sc7180_lpass_cpu_platform_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();