summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_asrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
-rw-r--r--sound/soc/fsl/fsl_asrc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_asrc.h b/sound/soc/fsl/fsl_asrc.h
index 45562aae89f0..c3c17769aa7e 100644
--- a/sound/soc/fsl/fsl_asrc.h
+++ b/sound/soc/fsl/fsl_asrc.h
@@ -10,9 +10,12 @@
#ifndef _FSL_ASRC_H
#define _FSL_ASRC_H
+#include <sound/asound.h>
#include <uapi/linux/mxc_asrc.h>
#include <linux/miscdevice.h>
+#define ASRC_PAIR_MAX_NUM (ASRC_PAIR_C + 1)
+
#define IN 0
#define OUT 1
@@ -289,6 +292,11 @@
#define ASRC_CLK_MAX_NUM 16
+enum asrc_word_width {
+ ASRC_WIDTH_24_BIT = 0,
+ ASRC_WIDTH_16_BIT = 1,
+ ASRC_WIDTH_8_BIT = 2,
+};
struct dma_block {
void *dma_vaddr;