• Tony Lindgren's avatar
    ARM: OMAP: Fix ASoC by enabling writes to XCCR and RCCR McBSP registers, v3 · 3127f8f8
    Tony Lindgren authored
    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: default avatarMisael Lopez Cruz <x0052729@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    
    
    
    
    3127f8f8
mcbsp.h 12 KB