OSDN Git Service

ASoC: mxs-sgtl5000: Use static DAI format setup
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 1 Jan 2015 16:16:15 +0000 (17:16 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2015 17:34:27 +0000 (17:34 +0000)
commitbc6a5d649bda56c579853bfe710db88bf38da522
tree742bdf4117a395add8a783219de35b37d4a7fff5
parent734890a6c99ee81b935164963c03fc8bbf3f821b
ASoC: mxs-sgtl5000: Use static DAI format setup

Set the dai_fmt field in the dai_link struct instead of manually calling
snd_soc_dai_fmt(). This makes the code cleaner and shorter.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-sgtl5000.c