[alsa-devel] [PATCH] ASoC: soc-cache: Fix the return value of snd_soc_cache_init when reg_size is 0

Mark Brown broonie at kernel.org
Mon Jun 2 18:17:35 CEST 2014


On Mon, Jun 02, 2014 at 11:23:54AM -0300, Fabio Estevam wrote:
> Commit b59dce53ef6 (ASoC: cache: Fix possible ZERO_SIZE_PTR pointer 
> dereferencing error.) caused the following probe error:
> 
> wm8962 0-001a: customer id 0 revision D
> wm8962 0-001a: ASoC: Failed to set cache compression type: -22
> imx-wm8962 sound: snd_soc_register_card failed (-22)
> imx-wm8962: probe of sound failed with error -22

Thanks - I already wrote a patch for this before I saw this one, sorry.
-------------- 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/20140602/87dc6cff/attachment-0001.sig>


More information about the Alsa-devel mailing list