ASoC: rockchip: Parse dai links from dts
authorJeffy Chen <jeffy.chen@rock-chips.com>
Thu, 24 Aug 2017 04:52:24 +0000 (12:52 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 Aug 2017 19:09:10 +0000 (20:09 +0100)
commit0d52954ffe80b051ab79a105bd801485c4bbe20a
tree0da2709f98533cbda12361c72b54bfa11f4af121
parent72cfb0f20c75c1e580597c164b9d74426e583f37
ASoC: rockchip: Parse dai links from dts

Refactor rockchip_sound_probe, parse dai links from dts instead of
hard coding them.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rk3399_gru_sound.c