]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/qe: Fixup QE_General4 errata
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 23 Aug 2011 12:30:05 +0000 (14:30 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Nov 2011 07:28:42 +0000 (01:28 -0600)
commit32b3b216ea04f3c8abc1278493d9a936f3b7a645
tree2a1cfd9f1156e4bed1a4e28e414d947c2af07779
parentc9f59f2a8d4bf65e4fa0962b61b7692391e29c86
powerpc/qe: Fixup QE_General4 errata

QE_General4 should only round up the divisor iff divisor is > 3.
Rounding up lower divisors makes the error too big, causing USB
on MPC832x to fail.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/qe.c