ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 18 Mar 2016 10:28:49 +0000 (12:28 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 18 Mar 2016 10:39:48 +0000 (10:39 +0000)
commitd4e44f1418d71cf53d685e236a95c525089e065a
treeaec94903e8bf3e1bc4775d79e25dc16f246b07e3
parente04fadaa169b09609fb55779236d35fb3197c932
ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3

OMAP3's McBSP2 and McBSP3 module have integrated sidetone block with
dedicated SYSCONFIG register. The sidetone is operating from the maain
McBSP module's ICLK. For normal operation the sidetone clock auto idle
support needs to be disabled when it is activated.
Note: This is not enough to avoid choppy sidetone because this AUTOIDLE
bit is controlling only the clock auto idle from the McBSP to the sidetone
block. If the McBSP_ICLK is idling, the sidetone clock is going to do the
same.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/mcbsp.c