ASoC: fsl_esai: Use dynamic slot width as default
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 24 Oct 2014 23:48:12 +0000 (16:48 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 25 Nov 2014 12:47:13 +0000 (12:47 +0000)
commit86ea522b369abbbe92b4d66a238e79319ca46ba5
tree4a5720fa4ede3f675d6d1c62f0974ffaa9836db8
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9
ASoC: fsl_esai: Use dynamic slot width as default

The driver previously used 32-bit fixed slot width as default.
In result, ESAI might use 32-bit length to capture 16-bit width
audio slot from CODEC side when ESAI is running as DAI slave.

So this patch just removes the default slot_width so as to use
dynamic slot width. If there comes a specific situation that
needs a fixed width, the machine driver shall set slot_width
via set_tdm_slot() so as to let the ESAI driver replace the
dynamic width policy with the fixed value.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c