]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Fix ASoC by enabling writes to XCCR and RCCR McBSP registers, v3
authorTony Lindgren <Lopez>
Thu, 15 Jan 2009 11:09:54 +0000 (13:09 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2009 11:09:54 +0000 (13:09 +0200)
commit3127f8f8595a064b3f1a1837fea2177902589ac3
tree962f69089c03a947d9add0d9a2a92f923ff28014
parent9b4a357787c27289b8c9efe916417690473538f7
ARM: OMAP: Fix ASoC by enabling writes to XCCR and RCCR McBSP registers, v3

This patch enables writing to McBSP Transmit Configuration Control
Register (XCCR) and Receive Configuration Control Register (RCCR)
for 2430/34xx platforms. It also adds XCCR, RCCR entries in McBSP
register configuration structure and bit definitions for both
registers.

If we enable the writing to CCR registers for 2430/34xx and don't
set the default values (setting 0 as a consequence) in ASoC driver,
the Transmit/Receive DMA mode gets disabled and the the
transmission/reception doesn't happen, ending with a
"write error: Input/Output error" when playing with 'aplay'.

Also define dummy CCR registers for omap1.

Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c