ASoC: topology: Fix setting of stream rates, rate_min and rate_max
authorMengdong Lin <mengdong.lin@linux.intel.com>
Mon, 22 Feb 2016 08:29:19 +0000 (16:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 22 Feb 2016 10:40:36 +0000 (19:40 +0900)
commitb6b6e4d670c9285225dc826bf69620f69717ade0
tree502d4a2bb061fd3f30a68f3024c61dc75c2998f5
parent3375cbe420a8987b30daf3c021bea6fb0b0fe344
ASoC: topology: Fix setting of stream rates, rate_min and rate_max

Directly set a stream's rates, rate_min and rate_max from the topology
info. Also define set_stream_info to wrap setting of the stream info.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c