[PATCH 1/4] net: can: ifi: Fix clock generator configuration

2016-03-02 Thread Marek Vasut
The clock generation does not match reality when using the CAN IP core outside of the FPGA design. This patch fixes the computation of values which are programmed into the clock generator registers. First, there are some off-by-one errors which manifest themselves only when communicating with diff

[PATCH 1/4] net: can: ifi: Fix clock generator configuration

2016-03-02 Thread Marek Vasut
The clock generation does not match reality when using the CAN IP core outside of the FPGA design. This patch fixes the computation of values which are programmed into the clock generator registers. First, there are some off-by-one errors which manifest themselves only when communicating with diff

[PATCH 1/4] net: can: ifi: Fix clock generator configuration

2016-02-29 Thread Marek Vasut
The clock generation does not match reality when using the CAN IP core outside of the FPGA design. This patch fixes the computation of values which are programmed into the clock generator registers. First, there are some off-by-one errors which manifest themselves only when communicating with diff