summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip/rockchip_pcm.h
diff options
context:
space:
mode:
authorJianqun Xu <jay.xu@rock-chips.com>2018-06-08 16:31:09 +0800
committerMark Brown <broonie@kernel.org>2018-06-18 12:54:38 +0100
commit75b31192fe6ad20b42276b20ee3bdf1493216d63 (patch)
treeda1e16a5b056d0e0e8a002a6d3ef16cdd507628e /sound/soc/rockchip/rockchip_pcm.h
parenta56df73ba5960848f60f609c68770d2638bf1dd5 (diff)
ASoC: rockchip: add config for rockchip dmaengine pcm register
This patch makes the rockchip i2s pcm configurable by adding rockchip pcm config for devm_snd_dmaengine_pcm_register. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_pcm.h')
-rw-r--r--sound/soc/rockchip/rockchip_pcm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_pcm.h b/sound/soc/rockchip/rockchip_pcm.h
new file mode 100644
index 000000000000..d6c36115c60a
--- /dev/null
+++ b/sound/soc/rockchip/rockchip_pcm.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2018 Rockchip Electronics Co. Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _ROCKCHIP_PCM_H
+#define _ROCKCHIP_PCM_H
+
+int rockchip_pcm_platform_register(struct device *dev);
+
+#endif