]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAP: clock: bail out early if arch_clock functions not implemented
authorPaul Walmsley <paul@pwsan.com>
Wed, 16 Feb 2011 22:38:38 +0000 (15:38 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 03:19:39 +0000 (20:19 -0700)
commite07f469d284ca3d1f5dcf5438c22982be98bc071
tree6ad643524090dadaa0e14a9dcf64f4efa6576f78
parent19c1c0ce9ddc45fe8f84b6cf12ba9dbecd7b1aa1
OMAP: clock: bail out early if arch_clock functions not implemented

Bail out before we take the clockfw_lock spinlock if the corresponding
OMAP1 or OMAP2+ clock function is not defined.  The intention is to
reduce and simplify the work that is done inside the spinlock.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c