diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:19:41 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-07-27 09:05:30 +0200 |
| commit | a91a0e774984aa57090c39dc3269a812417737ed (patch) | |
| tree | 6af3af1d8f3bfcaa4ee3d17aa652e13f00e17b4c /tools/perf/scripts/python | |
| parent | ALSA: au88x0: Fix sparse warning wrt PCM format type (diff) | |
| download | linux-a91a0e774984aa57090c39dc3269a812417737ed.tar.gz linux-a91a0e774984aa57090c39dc3269a812417737ed.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
