ARM: OMAP3: pdata-quirks: Add support for McBSP2/3 sidetone handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:23:47 +0000 (11:23 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 12:07:23 +0000 (05:07 -0700)
commitc26c84c92ba8907402faaab760dc0e4ecec89dd0
tree6c456728d821d77018a222be747fe5932646cbe5
parent53ae95f6d5455ac1bbf50649fbd5158e0ef5f16c
ARM: OMAP3: pdata-quirks: Add support for McBSP2/3 sidetone handling

McBSP2/3 module's sidetone module operates using the module's ICLK clock.
When the Sidetone is in use the interface clock of the module must not
idle. To prevent the iclk idling the driver expects to have pdata callback
to call. With this patch the callback is going to be set up for DT boot
also.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mcbsp.c
arch/arm/mach-omap2/pdata-quirks.c
include/linux/platform_data/asoc-ti-mcbsp.h