diff options
author | Jack Yu <jack.yu@realtek.com> | 2020-11-05 11:08:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-05 17:25:17 +0000 |
commit | 93bd813c17763177cf87e96c2313bd4dd747d234 (patch) | |
tree | e6062b14c32d9f543ce713b9f2afcafaef05e9e9 /sound/soc/codecs/rt1015.h | |
parent | f9d7c6eb23f7e55e7a0ca5451da06909bdfdd0e4 (diff) |
ASoC: rt1015: add delay to fix pop noise from speaker
Add delay to fix pop noise from speaker.
Signed-off-by: Jack Yu <jack.yu@realtek.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20201105030804.31115-1-jack.yu@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1015.h')
-rw-r--r-- | sound/soc/codecs/rt1015.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1015.h b/sound/soc/codecs/rt1015.h index d3fdd30aca6d..15cadb361ec3 100644 --- a/sound/soc/codecs/rt1015.h +++ b/sound/soc/codecs/rt1015.h @@ -12,6 +12,7 @@ #ifndef __RT1015_H__ #define __RT1015_H__ +#include <sound/rt1015.h> #define RT1015_DEVICE_ID_VAL 0x1011 #define RT1015_DEVICE_ID_VAL2 0x1015 @@ -380,6 +381,7 @@ enum { struct rt1015_priv { struct snd_soc_component *component; + struct rt1015_platform_data pdata; struct regmap *regmap; int sysclk; int sysclk_src; |