]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP: McBSP: Always maintain McBSP fclk while active
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Wed, 18 Mar 2009 11:31:02 +0000 (11:31 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 26 Mar 2009 22:47:05 +0000 (15:47 -0700)
commitbd0d1794e9897e65d9443b8b7ba897d93f3deab8
tree8baeeba116cae57971cc777fb8cd163c2debf4b0
parenta1ba945ac6df37a30bac1e8a7b5bf705cc0d7147
OMAP: McBSP: Always maintain McBSP fclk while active

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 <ext-eero.nurkkala@nokia.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c