[alsa-devel] [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Mon May 25 10:49:45 CEST 2015
On Sat, May 23, 2015 at 06:32:29PM +0200, Maciej S. Szmigiero wrote:
> snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*,
> not of SNDRV_PCM_FORMAT_* (which are sequential integers),
> however some of ASoC CODEC drivers use these values instead.
>
> Found out by sparse on 0-day kernel tester.
>
> Signed-off-by: Maciej Szmigiero <mail at maciej.szmigiero.name>
>
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list