]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP: McBSP: Do not enable or disable clocks on failed path
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Wed, 18 Mar 2009 11:41:25 +0000 (11:41 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 26 Mar 2009 22:48:08 +0000 (15:48 -0700)
commit58cf2f1425abfd3a449f9fe985e48be2d2555022
treedc106996ab6bc249aef6bb6a2744699acd9791b7
parentbd0d1794e9897e65d9443b8b7ba897d93f3deab8
OMAP: McBSP: Do not enable or disable clocks on failed path

McBSP clocks are being double enabled in the event the
McBSP is already active. Also, they are unnecessarily
disabled when there's no active McBSP in use. Fix this
phenomenom by enabling and disabling the clocks at the
proper location.

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/mcbsp.c