diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2016-10-25 19:27:26 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-25 14:25:36 +0100 |
commit | a5461fd6c8f70b3d897f5f76612e890ad47a5b93 (patch) | |
tree | 88469f7316b8590c9b1e7484fd5a5a84fdae1767 /include/sound | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | op-kernel-dev-a5461fd6c8f70b3d897f5f76612e890ad47a5b93.zip op-kernel-dev-a5461fd6c8f70b3d897f5f76612e890ad47a5b93.tar.gz |
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 'include/sound')
-rw-r--r-- | include/sound/rt5514.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/rt5514.h b/include/sound/rt5514.h new file mode 100644 index 0000000..ef18494 --- /dev/null +++ b/include/sound/rt5514.h @@ -0,0 +1,20 @@ +/* + * linux/sound/rt5514.h -- Platform data for RT5514 + * + * Copyright 2016 Realtek Semiconductor Corp. + * Author: Oder Chiou <oder_chiou@realtek.com> + * + * 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 __LINUX_SND_RT5514_H +#define __LINUX_SND_RT5514_H + +struct rt5514_platform_data { + unsigned int dmic_init_delay; +}; + +#endif + |