ASoC: Fix supported sample rates of TWL4030 audio codec
authorJarkko Nikula <jarkko.nikula@nokia.com>
Wed, 12 Nov 2008 15:05:41 +0000 (17:05 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Nov 2008 10:31:22 +0000 (10:31 +0000)
commitbbba944410310181de14a5c60a7c161ff2447dd9
treebb908fb92356474c86971b1e5e108b5a59c40bb7
parentfb0ef645f2c546f8297b2fbf9b2b8fff4a7455e8
ASoC: Fix supported sample rates of TWL4030 audio codec

TWL4030 currently supports rates between 8 kHz and 48 kHz and sets the codec
mode register accordingly in twl4030_hw_params. Expose this info so that
ASoC can match other rates than 44.1 kHz or 48 kHz as well.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c