ASoC: twl6040: Simplify sample rate constraint handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 29 Jun 2011 10:28:18 +0000 (13:28 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 7 Jul 2011 11:23:44 +0000 (14:23 +0300)
commitf53c346c08425b6448cf9729e882e4057ea505f0
tree692f2bae986f3202ff49675fd62b722b49438db0
parentaf958c72af88405501fe61a43f8011614cff29f5
ASoC: twl6040: Simplify sample rate constraint handling

We can manage the sample rate constraints without the need
to maintain a variable and a pointer.
This simplifies the handling of the constraint, and makes it
more robust.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c