[ALSA] pcm: add snd_pcm_rate_to_rate_bit() helper
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Aug 2007 15:40:54 +0000 (17:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:54 +0000 (15:58 +0200)
commit918f3a0e8cf67b5db966516f255eaf24d814fac0
treeae4ac300f4ca93346d4b4ca9a22d760c87ab3072
parent7653d557606c7cae921557a6a0ebb7c510e458eb
[ALSA] pcm: add snd_pcm_rate_to_rate_bit() helper

Add a snd_pcm_rate_to_rate_bit() function to factor out common code used
by several drivers.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/pcm.h
sound/core/pcm_misc.c
sound/pci/bt87x.c
sound/pci/rme32.c
sound/pci/rme96.c
sound/ppc/pmac.c
sound/soc/codecs/cs4270.c
sound/usb/usbaudio.c