// SPDX-License-Identifier: GPL-2.0-or-later /* * imx-pcm-dma-mx2.c -- ALSA Soc Audio Layer * * Copyright 2009 Sascha Hauer <[email protected]> * * This code is based on code copyrighted by Freescale, * Liam Girdwood, Javier Martin and probably others. */ #include <linux/platform_device.h> #include <linux/dmaengine.h> #include <linux/types.h> #include <linux/module.h> #include <sound/core.h> #include <sound/pcm.h> #include <sound/soc.h> #include <sound/dmaengine_pcm.h> #include "imx-pcm.h" static bool filter(struct dma_chan *chan, void *param) { … } static const struct snd_dmaengine_pcm_config imx_dmaengine_pcm_config = …; int imx_pcm_dma_init(struct platform_device *pdev) { … } EXPORT_SYMBOL_GPL(…); MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …;