ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Sat, 23 May 2015 16:32:29 +0000 (18:32 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 May 2015 12:00:32 +0000 (13:00 +0100)
commite712bfca1ac1f63f622f87c2f33b57608f2a4d19
treeab34256289bfda62f4ff9bbdf3f9e9ce5ded0395
parentb787f68c36d49bb1d9236f403813641efa74a031
ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

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@maciej.szmigiero.name>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/88pm860x-codec.c
sound/soc/codecs/stac9766.c
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm9713.c