summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/asoc-ti-mcbsp.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-05-30 11:23:47 +0300
committerTony Lindgren <tony@atomide.com>2016-06-10 15:07:23 +0300
commitc26c84c92ba8907402faaab760dc0e4ecec89dd0 (patch)
tree6c456728d821d77018a222be747fe5932646cbe5 /include/linux/platform_data/asoc-ti-mcbsp.h
parent53ae95f6d5455ac1bbf50649fbd5158e0ef5f16c (diff)
downloadlinux-c26c84c92ba8907402faaab760dc0e4ecec89dd0.tar.xz
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>
Diffstat (limited to 'include/linux/platform_data/asoc-ti-mcbsp.h')
-rw-r--r--include/linux/platform_data/asoc-ti-mcbsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/asoc-ti-mcbsp.h b/include/linux/platform_data/asoc-ti-mcbsp.h
index 73e5e832fa23..5530971abf4d 100644
--- a/include/linux/platform_data/asoc-ti-mcbsp.h
+++ b/include/linux/platform_data/asoc-ti-mcbsp.h
@@ -56,4 +56,6 @@ struct omap_mcbsp_dev_attr {
const char *sidetone;
};
+void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata);
+
#endif