ASoC: mediatek: address dai link array entries by enum
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 2 Mar 2016 14:49:06 +0000 (15:49 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 5 Mar 2016 04:46:06 +0000 (13:46 +0900)
commit05f5afd3f0d915537b67d3cfcb464e6836a65caf
treea3da3ee362a5827ee5474f23b9c502816fe56328
parent0c71367d35115a7eb24483ffce2fad74f77dc4d0
ASoC: mediatek: address dai link array entries by enum

This should be more robust to future changes than adressing
array entries by index number.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8173-rt5650-rt5676.c