From: Jarkko Nikula Date: Mon, 26 Sep 2011 07:45:45 +0000 (+0300) Subject: ARM: OMAP: mcbsp: Cleanup sidetone control initialization and make it generic X-Git-Tag: v3.2-rc1~90^2~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f821eece8b1bb10ad2d76c026e02257ce5c3c439;p=pandora-kernel.git ARM: OMAP: mcbsp: Cleanup sidetone control initialization and make it generic Sidetone resource is already registered for a device so there is no need for cpu_is_omap34xx() and McBSP port number tests in the driver. We can cleanup and make the code generic by dropping remaining CONFIG_ARCH_OMAP3 conditional compilations and then using sidetone resource and st_data variable for runtime tests. Signed-off-by: Jarkko Nikula Acked-by: Peter Ujfalusi Tested-by: Janusz Krzysztofik Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed