tegra: clock: Split the clock source code into a separate function
authorSimon Glass <sjg@chromium.org>
Wed, 15 Apr 2015 03:03:33 +0000 (21:03 -0600)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:09 +0000 (09:24 -0700)
commit7bb6199bd6c95c89bb9b8e2e2890223e2bca6595
treea81c6bd9afb4f3263f8f2d00c07e5ae3d65ed7c2
parent801b05cd613d00c98ecb3300f15e011518075ef4
tegra: clock: Split the clock source code into a separate function

Create a function which sets the source clock for a peripheral, given
the number of mux bits to adjust. This can then be used more generally.
For now, don't export it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/mach-tegra/clock.c