Skip to content
Commit a91a0e77 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 10d3d91e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment