ALSA: pcm_format_to_bits strong-typed conversion
authorEldad Zack <eldad@fogrefinery.com>
Mon, 22 Apr 2013 23:00:41 +0000 (01:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Apr 2013 11:36:15 +0000 (13:36 +0200)
Add a function to handle conversion from snd_pcm_format_t
to bitwise with proper typing.

Change such conversions to use this function and silence sparse
warnings.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found