[PATCH 1/2] ASoC: mt6359: skip first time data at the beginning of DMIC recording

Jiaxin Yu jiaxin.yu at mediatek.com
Wed Oct 28 05:39:23 EDT 2020


On Tue, 2020-10-27 at 13:15 +0000, Mark Brown wrote:
> On Tue, Oct 27, 2020 at 06:28:58PM +0800, Jiaxin Yu wrote:
> > On Mon, 2020-10-26 at 12:33 +0000, Mark Brown wrote:
> 
> > > This seems like something that would apply equally to all DMICs so
> > > should be done at a more general level rather than in this specific
> > > driver, for example it could be done in the DMIC driver.
> 
> > So you suggest that we use sound/soc/codecs/dmic.c to control the delay
> > after recording?
> > If so, should we add one more CODEC('dmic-codec' and 'dmic-hifi') to
> > dmic's dai-link? It looks link dmic.c has helped us do something to
> > control dmics.
> 
> Yes, exactly.

Thanks, if so, then the modification is mainly in the machine driver.
I will send the PATCH v2 again after you review the machine driver and
merge them.


More information about the Linux-mediatek mailing list