[PATCH v2 1/2] can: flexcan: use correct clock as base for bit rate calculation

Marc Kleine-Budde mkl at pengutronix.de
Tue Nov 26 03:27:06 EST 2013


On 11/25/2013 10:15 PM, Marc Kleine-Budde wrote:
> The flexcan IP core uses the peripheral clock ("per") as basic clock for the
> bit timing calculation. However the driver uses the the wrong clock ("ipg").
> This leads to wrong bit rates if the rates on both clock are different.
> 
> This patch fixes the problem by using the correct clock for the bit rate
> calculation.
> 
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
Acked-by: Marc Kleine-Budde <mkl at pengutronix.de>

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131126/7364b510/attachment.sig>


More information about the linux-arm-kernel mailing list