From: Jarkko Nikula Date: Mon, 12 Dec 2011 08:38:26 +0000 (+0200) Subject: ARM: OMAP: mcbsp: Fix possible memory corruption X-Git-Tag: v3.2-rc6~8^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8551e5fa3833c6080542da662394817fea4616;p=pandora-kernel.git ARM: OMAP: mcbsp: Fix possible memory corruption Commits 09d28d ("ARM: OMAP: mcbsp: Start generalize omap2_mcbsp_set_clks_src") and 7bc0c4 ("ARM: OMAP: mcbsp: Start generalize signal muxing functions") incorrectly set two struct omap_mcbsp_platform_data fields after omap_device_build_ss and kfree calls. Fix this by moving these pdata assignments before those calls. Signed-off-by: Jarkko Nikula Reported-by: NeilBrown Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed