commit | 5894b91d1e700f38b4157df143be1502cf08daa8 | [log] [tgz] |
---|---|---|
author | Sugar Zhang <sugar.zhang@rock-chips.com> | Fri Jun 09 16:52:46 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Jun 13 21:48:03 2017 +0100 |
tree | 2cdd0cf276e9ab6f1af6d9cf2dbe660b046b1235 | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
ASoC: rockchip: i2s: add a delay before i2s clear in order to guarantee i2s lrck signal integrity, when i2s stop, need at least one lrck cycle to ensure signal integrity. the max delay time is when lrck is 8khz, the delay time is 125us(1/8khz), using udelay(150) with a 25us margin. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>