[alsa-devel] [PATCH] ASoC: wm8962: Adjust clk definitions so that simple card can work

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Mon Mar 28 11:32:56 CEST 2016


On Sun, Mar 27, 2016 at 06:36:13PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> When trying to use simple card with wm8962 the following probe
> error happens:
> 
> wm8962 0-001a: simple-card: set_sysclk error
> asoc-simple-card sound: ASoC: failed to init 202c000.ssi-wm8962: -22
> asoc-simple-card sound: ASoC: failed to instantiate card -22
> asoc-simple-card: probe of sound failed with error -22
> 
> In simple-card.c the snd_soc_dai_set_sysclk() function is called with
> clk_id as 0, which is an invalid clock for wm8962.
> 
> Adjust the clocks source definitions in wm8962.h so that the
> simple card driver can work successfully.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Thanks,
Charles


More information about the Alsa-devel mailing list