Re: [alsa-devel] [PATCH V2 02/10] ASoC: img: Add driver for I2S input controller

From: Mark Brown
Date: Thu Oct 29 2015 - 21:20:47 EST

On Thu, Oct 29, 2015 at 03:42:59PM +0000, Damien Horsley wrote:

> For the I2S In, there is another issue with flushing on stream close. If
> the stream is stopped, then reconfigured to use a larger number of
> channels (without the stream being closed), then the per-channel fifos
> will become inconsistent with each other. The new channels will have no
> samples in their FIFOs, while the others may contain samples from the
> previous stream.

> Would hw_params be the correct place to flush instead?

Yes, you could flush there (or in both places for that matter).

Attachment: signature.asc
Description: PGP signature