summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5514.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2016-10-25 19:27:26 +0800
committerMark Brown <broonie@kernel.org>2016-10-25 14:25:36 +0100
commita5461fd6c8f70b3d897f5f76612e890ad47a5b93 (patch)
tree88469f7316b8590c9b1e7484fd5a5a84fdae1767 /sound/soc/codecs/rt5514.h
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-a5461fd6c8f70b3d897f5f76612e890ad47a5b93.tar.bz2
ASoC: rt5514: Add the DMIC initial delay to wait it ready.
Due to the DMIC that needs time to initial after the MCLK is provided, the field of delay time is implemented by the platform data. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.h')
-rw-r--r--sound/soc/codecs/rt5514.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5514.h b/sound/soc/codecs/rt5514.h
index 229de0e2c88c..5d343fb6d125 100644
--- a/sound/soc/codecs/rt5514.h
+++ b/sound/soc/codecs/rt5514.h
@@ -13,6 +13,7 @@
#define __RT5514_H__
#include <linux/clk.h>
+#include <sound/rt5514.h>
#define RT5514_DEVICE_ID 0x10ec5514
@@ -243,6 +244,7 @@ enum {
};
struct rt5514_priv {
+ struct rt5514_platform_data pdata;
struct snd_soc_codec *codec;
struct regmap *i2c_regmap, *regmap;
struct clk *mclk;