ARM: at91: clock: fix the GCK's clock source
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 11 Apr 2016 08:41:31 +0000 (16:41 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Tue, 24 May 2016 06:08:36 +0000 (08:08 +0200)
commit4adf6a715796de4f0e858e0246c3abf5e3c118f3
tree7e92bdfef1df7c5cf29d973ca67e5d25765d28ff
parenta9c89bf1669cbeb7bce6ae7a626eb9f2120af73f
ARM: at91: clock: fix the GCK's clock source

Before enabling a generated clock whose source is from the UPLL
clock, check and enable the UPLL clock.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
arch/arm/mach-at91/armv7/clock.c