-----Original Message----- From: Mark Brown [mailto:broonie@kernel.org] Sent: Sunday, October 30, 2016 2:43 AM
On Tue, Oct 11, 2016 at 02:37:26PM +0800, mengdong.lin@linux.intel.com wrote:
+/* DAI link flags */ +#define SND_SOC_TPLG_LNK_FLGBIT_IGNORE_SUSPEND (1 << 3) +#define SND_SOC_TPLG_LNK_FLGBIT_IGNORE_POWERDOWN_TIME (1 <<
This still feels *really* ASoC specific - both suspend and pmdown_time are very much ASoC internal implementations of generic ideas about how and when to manage things. They don't talk about what the intended effect is which makes things a bit more obscure if we come back and try to change the implementation later. Why are you using these flags, and can we add *that* information to the topology file instead?
The flag IGNORE_SUSPEND is used by the link for voice wake up, there is a DMIC connected to the SOC on our platrform. I use a new flag VOICE_WAKEUP to replace it in the last patch of the v7 series. If this flag still seems not good, please overlook the last patch, and we can configure it in device drivers.
And IGNORE_POWERDOWN_TIME is to configure the ignore_pmdown_time of the link. Since it's ASoC specific, I removed it from ABI and device driver can configure it in callbacks.
Thanks Mengdong