ALSA: asihpi: Fix PCM format notations
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:19:41 +0000 (23:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2018 07:05:30 +0000 (09:05 +0200)
commita91a0e774984aa57090c39dc3269a812417737ed
tree6af3af1d8f3bfcaa4ee3d17aa652e13f00e17b4c
parent10d3d91e3bc4e152a580bf523e4fd6bf279ae532
ALSA: asihpi: Fix PCM format notations

asihpi driver treats -1 as an own invalid PCM format, but this needs
a proper cast with __force prefix since PCM format type is __bitwise.
Define a constant with the proper type and use it allover.

This fixes sparse warnings like:
  sound/pci/asihpi/asihpi.c:315:9: warning: incorrect type in initializer (different base types)

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