android_kernel_xiaomi_sm7250/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
xen_snd_front_alsa.c
xen_snd_front_alsa.h
xen_snd_front_cfg.c
xen_snd_front_cfg.h
xen_snd_front_evtchnl.c
xen_snd_front_evtchnl.h
xen_snd_front_shbuf.c
xen_snd_front_shbuf.h
xen_snd_front.c
xen_snd_front.h