]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: 6295/1: fix U300 apb_pclk split
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 5 Aug 2010 06:58:13 +0000 (07:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Aug 2010 21:10:55 +0000 (22:10 +0100)
commit379aae5d6c3d8d9751d85a8022e68a90df13a7ae
treee4484124e084be47d26cb43287f99edbd887d615
parentc2fab1242a16f8e66b680d664322c3811e7b003d
ARM: 6295/1: fix U300 apb_pclk split

This fixes a regression due to the new apb_pclk stuff in the U300
platform, makes it run by splitting the apb clock off the single
UART clocks. For the MMCI and PL022 clocks we don't split them:
these are actually hardwired to the same clock terminal and will
thus simply have a double reference count and will be referenced
twice.

We also move clock registration to .init_irq() so they are
available early enough for probing to be successful and remove the
earlier quirk to clock primecells during PrimeCell registration.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/clock.c
arch/arm/mach-u300/clock.h
arch/arm/mach-u300/core.c