OSDN Git Service

ASoC: smartq_wm8987: Use static DAI format setup
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 1 Jan 2015 16:16:26 +0000 (17:16 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2015 17:34:31 +0000 (17:34 +0000)
commit10756c2770d7f4758e36d2a9e37ff2637001d610
tree898f31fb6cd395cbd00f90a471f336e76e9d2bd5
parent517b9a2a90676aeeefc7e2b8508fe4260e02c432
ASoC: smartq_wm8987: 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/samsung/smartq_wm8987.c