ASoC: pcm186x: Declare PCM format with snd_pcm_format_t
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:17:21 +0000 (23:17 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 26 Jul 2018 16:09:08 +0000 (17:09 +0100)
commit79b8a50813a80ac15fdcdc96674098dee15eaaf5
treeef19110f352d0ccf36bb068843c569a2ac07160d
parentebc22af0c9268dc4032326c20b02f2f227203330
ASoC: pcm186x: Declare PCM format with snd_pcm_format_t

The PCM format type is with __bitwise, so we should use the dedicated
snd_pcm_format_t instead of int.

This fixes the sparse warning like:
  sound/soc/codecs/pcm186x.c:268:44: warning: incorrect type in initializer (different base types)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm186x.c