summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-26 00:19:45 +0300
committerTakashi Iwai <tiwai@suse.de>2018-07-27 10:05:34 +0300
commit3ac14b3960185d4c8a2f14b84042aa1aa8531d88 (patch)
tree065c42b7ea085cb3506262518d82bc782cb2e888 /sound/pci
parente5d3765b6c4cb3ba64295a4205a2f68a4e8fe083 (diff)
downloadlinux-3ac14b3960185d4c8a2f14b84042aa1aa8531d88.tar.xz
ALSA: xen: Use standard pcm_format_to_bits() for ALSA format bits
The open codes with the bit shift in xen_snd_front_alsa.c give sparse warnings as the PCM format type is with __bitwise. There is already a standard macro to get the format bits, so let's use it instead. This fixes sparse warnings like: sound/xen/xen_snd_front_alsa.c:191:47: warning: restricted snd_pcm_format_t degrades to integer Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions