From: Simon Que Date: Fri, 16 Dec 2011 19:11:22 +0000 (+0100) Subject: ARM: tegra: Fix PWM clock programming X-Git-Tag: v3.6-rc1~134^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1dccfc63f7a007c6347c75ba597d866749d9d2;p=pandora-kernel.git ARM: tegra: Fix PWM clock programming PWM clock source registers in Tegra 2 have different clock source selection bit fields than other registers. PWM clock source bits in CLK_SOURCE_PWM_0 register are located at bit field bit[30:28] while others are at bit field bit[31:30] in their respective clock source register. This patch updates the clock programming to correctly reflect that, by adding a flag to indicate the alternate bit field format and checking for it when selecting a clock source (parent clock). Signed-off-by: Bill Huang Signed-off-by: Simon Que Signed-off-by: Thierry Reding Signed-off-by: Stephen Warren --- Reading git-diff-tree failed