commit | 83fcdb4b352f74a8a74737aedeaf622c37140c73 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Wed Sep 05 14:29:10 2007 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Mon Sep 10 16:02:09 2007 -0500 |
tree | 2f948f23d9bf48aa08f82ff48661440c969ffa1c | |
parent | 36c50f729b77144cae8d43457fefca66a4eeff6a [diff] |
[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 <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>