summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt715.h
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2020-09-25 16:05:09 -0500
committerMark Brown <broonie@kernel.org>2020-09-28 17:59:02 +0100
commit16346a3cf02ebb8906c6a0ba907f83ea62cc874b (patch)
tree5262b7f3c46d01e060045893545c51176913d748 /sound/soc/codecs/rt715.h
parent3bf7b94293922e436556b5ac06081af2a3775225 (diff)
ASoC: rt715: Add power-up delay to fix dmic pop sound issue.
Add 400ms power-up delay recommended to fix pop noise on capture. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Signed-off-by: Jack Yu <jack.yu@realtek.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200925210509.83353-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt715.h')
-rw-r--r--sound/soc/codecs/rt715.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt715.h b/sound/soc/codecs/rt715.h
index df0f24f9bc0c..d0d0fd2a6fdb 100644
--- a/sound/soc/codecs/rt715.h
+++ b/sound/soc/codecs/rt715.h
@@ -210,6 +210,8 @@ enum {
RT715_AIFS,
};
+#define RT715_POWER_UP_DELAY_MS 400
+
int rt715_io_init(struct device *dev, struct sdw_slave *slave);
int rt715_init(struct device *dev, struct regmap *sdw_regmap,
struct regmap *regmap, struct sdw_slave *slave);