ASoC: uda1380: split set_dai_fmt into _both, _playback and _capture variants
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 3 Feb 2009 16:19:40 +0000 (17:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Feb 2009 13:15:15 +0000 (13:15 +0000)
commit5b2474425ed2a625b75dcd8d648701e473b7d764
treedd78facc779ef568bbc77d840ca573f6f1f01519
parent111f6fbeb73fc350fe3a08c4ecd0ccdf3e13bef0
ASoC: uda1380: split set_dai_fmt into _both, _playback and _capture variants

This patch splits set_dai_fmt into three variants (single interface,
dual interface playback only, dual interface capture only) so that
data input and output formats can be configured separately for dual
interface setups.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/uda1380.c