[alsa-devel] [PATCH] ASoC: adau1701: Reset codec based on sample rate changes
Mark Brown
broonie at kernel.org
Wed Mar 23 13:48:49 CET 2016
On Wed, Mar 23, 2016 at 12:58:23PM +0100, pascal.huerst at gmail.com wrote:
> Instead of checking if mclk/lrclk ratio has changed, check if
> sample rate has changed. In certain cases, the mclk might be
> changed in the machine driver, which can lead to the same
> mclk/lrclk ration, eventhow the sample rate has changed.
> Since the codec has to be programmed differently for every
> sample rate, its better to check for samplerate changes instead
> of mclk/lrclk ration changes.
Why does this mean we have to reset the CODEC rather than just
reprogramming it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160323/3a1d2d7b/attachment.sig>
More information about the Alsa-devel
mailing list