ASoC: arizona: Fix TDM slot length handling in arizona_hw_params
authorNikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Tue, 12 Aug 2014 14:30:32 +0000 (15:30 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 12 Aug 2014 21:44:21 +0000 (22:44 +0100)
commitd114e5f73b1191a6c323eb1f25fd5084db6539cc
treed93037b2f82b563d0aaa4dde27c6515769a4f1fa
parentae34a78c430c37c06404f032fb04e51315204281
ASoC: arizona: Fix TDM slot length handling in arizona_hw_params

TDM slot length was set same as word length, regardless of the value
received in set_tdm_slot. This patch sets the TDM slot length correctly
as received in set_tdm_slot DAI callback

Signed-off-by: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/arizona.c