]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: fsl_sai: Initialize with software reset
authorNicolin Chen <nicoleotsuka@gmail.com>
Tue, 5 Aug 2014 09:20:21 +0000 (17:20 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 16 Aug 2014 22:06:23 +0000 (17:06 -0500)
commit376d1a92ca587d3974d4791cdb99baa8b8e7f0dd
treee5cf7277cc41ddc3f50bdb282bc19e846a465d45
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
ASoC: fsl_sai: Initialize with software reset

This patch adds software reset code in dai_probe() so as to make a true init
by clearing SAI's internal logic, including the bit clock generation, status
flags, and FIFO pointers.

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