linux/sound/xen
Takashi Iwai 3ac14b3960 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>
2018-07-27 09:05:34 +02:00
..
Kconfig
Makefile ALSA: xen-front: Implement ALSA virtual sound driver 2018-05-16 12:59:57 +02:00
xen_snd_front.c ALSA: xen-front: fix a loop timeout 2018-05-31 09:11:03 +02:00
xen_snd_front.h ALSA: xen-front: Implement ALSA virtual sound driver 2018-05-16 12:59:57 +02:00
xen_snd_front_alsa.c ALSA: xen: Use standard pcm_format_to_bits() for ALSA format bits 2018-07-27 09:05:34 +02:00
xen_snd_front_alsa.h ALSA: xen-front: Implement ALSA virtual sound driver 2018-05-16 12:59:57 +02:00
xen_snd_front_cfg.c ALSA: xen-front: freeing an error pointer 2018-05-30 13:19:45 +02:00
xen_snd_front_cfg.h
xen_snd_front_evtchnl.c ALSA: xen-front: remove redundant error check on ret 2018-05-28 11:28:44 +02:00
xen_snd_front_evtchnl.h ALSA: xen-front: Implement Xen event channel handling 2018-05-16 12:58:41 +02:00
xen_snd_front_shbuf.c ALSA: xen-front: Implement handling of shared buffers 2018-05-16 12:59:50 +02:00
xen_snd_front_shbuf.h ALSA: xen-front: Implement handling of shared buffers 2018-05-16 12:59:50 +02:00