ASoC: Add bit clock rate calculator utility functions
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Nov 2009 16:08:04 +0000 (16:08 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Nov 2009 16:45:48 +0000 (16:45 +0000)
commit7aae816dae150caad8880357e42303935c0179a8
treee9adbb85d828e3e9eca5feca7afb6c71a4491f26
parenta68cc8daebdd8ba7fe457ab4b2a0ccdf3cedc9f8
ASoC: Add bit clock rate calculator utility functions

Many devices need to calculate the bit clock rate desired to
work out the clock configuration required for the device.
Provide utility functions to do this using both hw_params
structures and raw numbers.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/soc.h
sound/soc/Makefile
sound/soc/soc-utils.c [new file with mode: 0644]