]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rx1950_uda1380: Don't modify runtime->hw
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 3 Feb 2014 16:24:22 +0000 (17:24 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 18:42:02 +0000 (18:42 +0000)
commit4f6136fa0d6200f1c6eebfb1f12572ca6b770927
tree375a9091955d2bf1374370f4969c15d1fd3bf9e2
parent1659b84312617fe846def362f6ccdc73ec452d44
ASoC: rx1950_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 rx1950_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/rx1950_uda1380.c