ARM: OMAP: McBSP: Merge two functions into omap_mcbsp_start/_stop
commitd09a2afc9359407114b7062519101f1ee2d05388
authorJarkko Nikula <jhnikula@gmail.com>
Sun, 23 Aug 2009 09:24:27 +0000 (23 12:24 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Aug 2009 09:20:48 +0000 (25 10:20 +0100)
tree43a4ac61d26e2c760dc2547066cef1b4d076a07f
parent32080af7a612e8c56131d6bdcd268cd9e8b0add1
ARM: OMAP: McBSP: Merge two functions into omap_mcbsp_start/_stop

Functionality of functions omap_mcbsp_xmit_enable and omap_mcbsp_recv_enable
can be merged into omap_mcbsp_start and omap_mcbsp_stop since API of
those omap_mcbsp_start and omap_mcbsp_stop was changed recently allowing
to start and stop individually the transmitter and receiver.

This cleans up the code in arch/arm/plat-omap/mcbsp.c and in
sound/soc/omap/omap-mcbsp.c which was the only user for those removed
functions.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c
sound/soc/omap/omap-mcbsp.c