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)
commitae5f8c19827493e5a8d48c2c6a8a92201a94f08b
tree2a1cfd9f1156e4bed1a4e28e414d947c2af07779
parent05011f370a4f549da69f3841e319043728f65542
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