diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-05 15:29:10 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-09-10 17:02:09 -0400 |
commit | 83fcdb4b352f74a8a74737aedeaf622c37140c73 (patch) | |
tree | 2f948f23d9bf48aa08f82ff48661440c969ffa1c /lib/rwsem-spinlock.c | |
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>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions