[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:35:01 EST 2013


On 11/26/2013 09:27 AM, Marc Kleine-Budde wrote:
> 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>
If you take the patch, please add:

Cc: linux-stable <stable at vger.kernel.org>

Marc

-- 
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/5b10d1fc/attachment.sig>


More information about the linux-arm-kernel mailing list