ALSA: riptide: Fix PCM format type conversion
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:19:37 +0000 (23:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2018 07:05:26 +0000 (09:05 +0200)
commit94dfee0c1a33baa974cba0bd8b83021b1d801297
tree52ef64da62a90d91d9dcd86cb110196143bcfcd3
parenta6ea5fe95ab4a1a7af6d57429fe3ecde9acf5b5a
ALSA: riptide: Fix PCM format type conversion

The PCM format type is with __bitwise, hence it needs to be explicitly
declared as snd_pcm_format_t, as warned by sparse:
  sound/pci/riptide/riptide.c:1028:34: warning: incorrect type in argument 1 (different base types)
  sound/pci/riptide/riptide.c:1028:34:    expected restricted snd_pcm_format_t [usertype] format
  sound/pci/riptide/riptide.c:1028:34:    got unsigned char [unsigned] format

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c