Takashi Iwai b9c7d41087 ALSA: pcm: More helper macros for reducing snd_pcm_format_t cast
snd_pcm_format_t is a strong-typed integer and requires the explicit
cast with __force if converted or compared with a normal integer
value.  Since most of use cases do iterate over all formats and test /
set the mask, provide a couple of new helper macros that do the
explicit cast.

Link: https://lore.kernel.org/r/20200206163945.6797-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-02-10 08:27:08 +01:00
..
2019-08-08 16:36:18 +02:00
2019-10-08 13:47:20 +01:00
2017-11-13 15:45:57 +01:00
2020-01-21 17:07:08 +00:00
2019-12-18 20:02:02 +00:00
2019-12-11 22:06:14 +01:00
2019-10-25 11:06:57 +01:00