ASoC: sam9g20_wm8731: Use static DAI format setup
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 1 Jan 2015 16:16:10 +0000 (17:16 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2015 17:33:58 +0000 (17:33 +0000)
commit059d3dc6e5e8d4a62803eb3ad01b34fa3f714675
tree441d1974c8d0efdbb7ab3d436eddfbce152c0346
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: sam9g20_wm8731: 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>
Acked-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/sam9g20_wm8731.c