ASoC: omap-mcbsp: sidetone: Use the new callback for iclk handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:23:49 +0000 (11:23 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 12:07:24 +0000 (05:07 -0700)
commitbbfa26c530c108ddb8f5305a1a93756b6a767d88
treec99417326f40d47c103475f33a6afedaa0ab9868
parent6610d3571b3daefca47f6735ee400f9e85f91e3d
ASoC: omap-mcbsp: sidetone: Use the new callback for iclk handling

The McBSP sidetone (in OMAP3 McBSP2 and 3 module) is working with the
module's interface clock. When the sidetone is enabled the iclk must not
idle because it will result in choppy sidetone.
Switch to use the new callback for handling the iclk allow/deny idle
configuration.
For this the driver needs to get the module's ick clock and pass the clk
pointer to the callback.
In DT boot, the pdata-quirk is going to set up the callback for the driver
so save it if it is set in the pdata of the device.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
sound/soc/omap/mcbsp.c
sound/soc/omap/mcbsp.h
sound/soc/omap/omap-mcbsp.c
This page took 0.033547 seconds and 5 git commands to generate.