[alsa-devel] [PATCH] ASoC: wm8962: No need to call wm8962_configure_bclk() multiple times

Mark Brown broonie at kernel.org
Fri Jul 19 12:07:04 CEST 2013


On Fri, Jul 19, 2013 at 02:58:28AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> Currently after playing any audio file, we get the following error message:
> 
> $ aplay clarinet.wav 
> Playing WAVE 'clarinet.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
> $ wm8962 0-001a: Unsupported sysclk ratio 544
> 
> This error message appears about 5 seconds after the audio playback has 
> finished.
> 
> There is no need to re-calculate the bit clock after the playback has finished,
> so call wm8962_configure_bclk only once inside wm8962_hw_params(). 

No, you do end up needing to call it in multiple places - there's other
configuration going on there that is needed by bypass paths which won't
use the audio interface and hence won't call hw_params().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130719/1d8c8f45/attachment.sig>


More information about the Alsa-devel mailing list