[POWERPC] cpm2: Fix off-by-one error in setbrg().
authorScott Wood <scottwood@freescale.com>
Wed, 5 Sep 2007 19:29:10 +0000 (14:29 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 10 Sep 2007 21:02:09 +0000 (16:02 -0500)
The hardware adds one to the BRG value to get the divider, so it must
be subtracted by software.  Without this patch, characters will occasionally
be corrupted.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found