diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2011-12-12 10:38:26 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-12 10:31:54 -0800 |
commit | 0c8551e5fa3833c6080542da662394817fea4616 (patch) | |
tree | e232b49a4a48e3e8666f2f5b1e08701871366c8d /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | dc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50 (diff) |
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 <jarkko.nikula@bitmer.com>
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
0 files changed, 0 insertions, 0 deletions