|
@@ -216,7 +216,7 @@ int qe_setbrg(enum qe_clock brg, unsigned int rate, unsigned int multiplier)
|
|
/* Errata QE_General4, which affects some MPC832x and MPC836x SOCs, says
|
|
/* Errata QE_General4, which affects some MPC832x and MPC836x SOCs, says
|
|
that the BRG divisor must be even if you're not using divide-by-16
|
|
that the BRG divisor must be even if you're not using divide-by-16
|
|
mode. */
|
|
mode. */
|
|
- if (!div16 && (divisor & 1))
|
|
|
|
|
|
+ if (!div16 && (divisor & 1) && (divisor > 3))
|
|
divisor++;
|
|
divisor++;
|
|
|
|
|
|
tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) |
|
|
tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) |
|