[alsa-devel] ASoC: ssm2518: bug in ssm2518_set_tdm_slot

Lars-Peter Clausen lars at metafoo.de
Mon Jun 10 15:56:29 CEST 2013


On 06/10/2013 03:39 PM, Axel Lin wrote:
> ASoC: ssm2518: bug in ssm2518_set_tdm_slot
> 
> The code in ssm2518_set_tdm_slot looks wrong:
> 
>         if (tx_mask == 0 || tx_mask != 0)
>                 return -EINVAL;
> 
> So ssm2518_set_tdm_slot() always returns error.
> 

Ah, damm, the second should be rx_mask. Do you want to sent a fix, or want
me to do it?

Thanks,
- Lars


More information about the Alsa-devel mailing list