OSDN Git Service

ASoC: McASP: set format parameters in dependence of the DAI format
authorDaniel Mack <zonque@gmail.com>
Thu, 4 Oct 2012 13:08:42 +0000 (15:08 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Oct 2012 02:24:47 +0000 (11:24 +0900)
commit5296cf2d5e245ca3373207ba3f0aedaa10f040b6
tree9681e17afe47bb923a40f888bc3a4b30a3356440
parent5b66aa2d0cafd8093e0b8959d32e694c92390b8c
ASoC: McASP: set format parameters in dependence of the DAI format

The FSDUR flag configures whether the frame clock uses a high phase of
only one bit or a full word. This has to be set depending on the DAI
format.

For other modes than DSP_B, the FSXDLY/FSRDLY fields have to be set to
1.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c