]> git.baikalelectronics.ru Git - 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)
commit0dec6ed1cc746c349b904ccad87615a36f6022a9
tree9e3715ef860d797849709797fc10ae7642c87277
parent953060184e95c8a0ad844412fea3b50ade00ceff
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