]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
SuperH IrDA: correct Baud rate error correction
authorNicolas Kaiser <nikai@nikai.net>
Thu, 18 Nov 2010 14:24:02 +0000 (14:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Nov 2010 18:09:53 +0000 (10:09 -0800)
commitddab1a3b30452bf6d2a2780dbb5fd962a85bec48
tree9e3715ef860d797849709797fc10ae7642c87277
parent33ac0b84eecaf5e7ee3baa3ef8294e8d8d267cd6
SuperH IrDA: correct Baud rate error correction

It looks to me as if the second value of rate_err_array is intended
to be a decimal 625. However, with a leading 0 it becomes an octal
constant, and as such evaluates to a decimal 405.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_sir.c