ASoC: h1940_uda1380: Don't modify runtime->hw
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 3 Feb 2014 16:24:21 +0000 (17:24 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 18:41:59 +0000 (18:41 +0000)
commit1659b84312617fe846def362f6ccdc73ec452d44
tree5dfb57f4c48e6256ea27bd382351c7430d42ff1e
parentd92bba83c790945ee0954f7a408b6b14418bd976
ASoC: h1940_uda1380: Don't modify runtime->hw

Individual components are not supposed to modify the runtime->hw struct itself
as it is manged by the ASoC core. If a component wants to limit the list of
supported rates it should set a rate constraint. The h1940_uda1380 already does
this, so it is safe to just remove the code that modifies runtime->hw.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/h1940_uda1380.c