diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-26 00:19:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-27 10:05:30 +0300 |
commit | a91a0e774984aa57090c39dc3269a812417737ed (patch) | |
tree | 6af3af1d8f3bfcaa4ee3d17aa652e13f00e17b4c /sound/isa | |
parent | 10d3d91e3bc4e152a580bf523e4fd6bf279ae532 (diff) | |
download | linux-a91a0e774984aa57090c39dc3269a812417737ed.tar.xz |
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>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions