net/irda: bfin_sir: IRDA is not affected by anomaly 05000230

Anomaly 05000230 (over sampling of the UART STOP bit) applies only when
the peripheral is operating in UART mode. So drop the anomaly handling
in the IRDA code.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Graf Yang and committed by David S. Miller eda6e6f8 e487639d

+6 -2
+6 -2
drivers/net/irda/bfin_sir.c
··· 107 107 case 57600: 108 108 case 115200: 109 109 110 - quot = (port->clk + (8 * speed)) / (16 * speed)\ 111 - - ANOMALY_05000230; 110 + /* 111 + * IRDA is not affected by anomaly 05000230, so there is no 112 + * need to tweak the divisor like he UART driver (which will 113 + * slightly speed up the baud rate on us). 114 + */ 115 + quot = (port->clk + (8 * speed)) / (16 * speed); 112 116 113 117 do { 114 118 udelay(utime);