]> git.baikalelectronics.ru Git - kernel.git/commit
omap2: McBSP: Remove mux code for OMAP2420 McBSP2 and do cleanups
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 31 Aug 2010 10:12:56 +0000 (10:12 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 27 Sep 2010 17:15:25 +0000 (10:15 -0700)
commit214066e3c4540c7e34e63502cf66f0b69d391067
treed80acae9f744588dad7b2f25f04b6c90905b7ebc
parent8b0b6c78d1a914f4fc6a11ab8d393c0b878bff56
omap2: McBSP: Remove mux code for OMAP2420 McBSP2 and do cleanups

This 'legacy' OMAP2420 McBSP2 muxing code is currently broken after recent
conversion to new mux code. The omap_mcbsp_request calling this code is
usually called after booting whereas the omap_mux_init_signal is __init
marked so null pointer dereference would occur.

Fix this by removing the muxing code and let the bootloader or board file to
do it if necessary. Remove also omap2_mcbsp_ops as there is no use for it.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mcbsp.c