diff options
author | derek.fang <derek.fang@realtek.com> | 2020-09-14 16:57:19 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-14 13:53:57 +0100 |
commit | 8d9a14fc7371a18d54226bf2542f77b11e5a7101 (patch) | |
tree | 6119c9fd1656a18e3775ed4efe6b36a0ded3aefc /sound/soc/codecs/rt1015.h | |
parent | da145172b236b1ac322fa81f6250aa59074eba68 (diff) |
ASoC: rt1015: Fix the failure to flush DAC data before playback
Fix the failure to flush DAC data before playback.
Signed-off-by: derek.fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/1600073839-6762-2-git-send-email-derek.fang@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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1015.h b/sound/soc/codecs/rt1015.h index 4d11f5865725..d3fdd30aca6d 100644 --- a/sound/soc/codecs/rt1015.h +++ b/sound/soc/codecs/rt1015.h @@ -373,6 +373,11 @@ enum { RT1015_Bypass_Boost, }; +enum { + RT1015_HW_28 = 0, + RT1015_HW_29, +}; + struct rt1015_priv { struct snd_soc_component *component; struct regmap *regmap; @@ -390,6 +395,8 @@ struct rt1015_priv { int amp_ver; int dac_is_used; int cali_done; + int hw_config; + struct delayed_work flush_work; }; #endif /* __RT1015_H__ */ |