From: Scott Wood Date: Wed, 5 Sep 2007 19:29:10 +0000 (-0500) Subject: [POWERPC] cpm2: Fix off-by-one error in setbrg(). X-Git-Tag: v2.6.23-rc7~57^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83fcdb4b352f74a8a74737aedeaf622c37140c73;p=pandora-kernel.git [POWERPC] cpm2: Fix off-by-one error in setbrg(). 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed