On Wed, 18 Mar 2009 12:31:02 +0100 "Nurkkala Eero.An (EXT-Offcode/Oulu)" <[email protected]> wrote:
> From: Eero Nurkkala <[email protected]> > > McBSP fclk must be maintained for the duration of > audio playback or recording. Otherwise the fclk > may get autogated when the PER96M clk is no longer > required by other modules. This results in audio > activity being hang. Also, if the McBSP is run > as a slave, it is possible that words are > randomly missed from the playback. Fix all this > phenomenom by enabling the McBSP fclk > clockactivity bit for the entire active duration > of the McBSP usage. > > Signed-off-by: Eero Nurkkala <[email protected]> > --- ... > w = OMAP_MCBSP_READ(mcbsp->io_base, SYSCON); > - w &= ~(ENAWAKEUP | SIDLEMODE(0x03)); > - w |= (ENAWAKEUP | SIDLEMODE(0x02)); > + w &= ~(ENAWAKEUP | SIDLEMODE(0x03) | CLOCKACTIVITY > (0x03)); > + w |= (ENAWAKEUP | SIDLEMODE(0x02) | CLOCKACTIVITY > (0x02)); Based on updated TRM info: http://marc.info/?l=linux-omap&m=123674373120880&w=2 Acked-by: Jarkko Nikula <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
