clk: tegra: Correct bit width for PMC output clock mux
authorJon Hunter <jonathanh@nvidia.com>
Tue, 2 Aug 2016 10:34:28 +0000 (11:34 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 16 Aug 2016 13:01:07 +0000 (15:01 +0200)
commitc666cd218a41d2aabdfe883bdf8e48a5b47ad19e
tree5fe51aaa7c1add4f0560d5e42215394ce23cf785
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
clk: tegra: Correct bit width for PMC output clock mux

The bit field for setting the clock mux for the PMC output clocks is a
2-bit field and has always been a 2-bit field for all Tegra devices that
have these clocks (starting with Tegra30). However, the PMC clock driver
incorrectly specifies that this bit field is 3 bits wide and this causes
other bits in the register to be over-written when setting up the mux.
Therefore, correct the width for PMC clock mux to prevent over-writing
other fields.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra-pmc.c
This page took 0.024533 seconds and 5 git commands to generate.