diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-04-25 07:19:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-26 17:08:58 +0300 |
commit | ab7b4ee9861a340b470e59f8d19360f7bc81e9dd (patch) | |
tree | aec0d4b373ea30c9384a9a03154698e655e342b8 /sound/soc/mediatek/common/mtk-base-afe.h | |
parent | cf8702736032cd593f481e4c2ac38cfe6fa67799 (diff) | |
download | linux-ab7b4ee9861a340b470e59f8d19360f7bc81e9dd.tar.xz |
ASoC: mediatek: Add MTK_STREAM_NUM to mtk-base-afe.h
Add MTK_STREAM_NUM to common header and modify related stuff so that
the other SoCs can reuse it.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Garlic Tseng <garlic.tseng@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/common/mtk-base-afe.h')
-rw-r--r-- | sound/soc/mediatek/common/mtk-base-afe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/mediatek/common/mtk-base-afe.h b/sound/soc/mediatek/common/mtk-base-afe.h index 3a78f6f17195..e50adc9116cf 100644 --- a/sound/soc/mediatek/common/mtk-base-afe.h +++ b/sound/soc/mediatek/common/mtk-base-afe.h @@ -17,6 +17,8 @@ #ifndef _MTK_BASE_AFE_H_ #define _MTK_BASE_AFE_H_ +#define MTK_STREAM_NUM (SNDRV_PCM_STREAM_LAST + 1) + struct mtk_base_memif_data { int id; const char *name; |