ASoC: ab8500-codec: Set tx dai slots from tx_mask
authorFabio Baltieri <fabio.baltieri@linaro.org>
Tue, 21 May 2013 10:04:08 +0000 (12:04 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 May 2013 16:35:17 +0000 (11:35 -0500)
commitb296263398f08d21e68d5d7b2afc43228c208b71
treea94d722f574324112b5674fa02ec073389d61178
parentaba1e2be4dcfda7069cc0b82c73b89707595a454
ASoC: ab8500-codec: Set tx dai slots from tx_mask

Replace hard-coded tx slot numbers from ab8500_codec_set_dai_tdm_slot
using the ones requested by the machine driver in tx_mask instead.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ab8500-codec.c
sound/soc/codecs/ab8500-codec.h