Re: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-02-27 Thread Marc Kleine-Budde
On 1/31/19 10:37 AM, Joakim Zhang wrote: > Current we can meet timeout issue when setting a small bitrate like 1 > as follows on i.MX6UL EVK board (ipg clock = 66MHZ, per clock = 30MHZ): > root@imx6ul7d:~# ip link set can0 up type can bitrate 1 > A link change request failed with some chang

RE: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-02-14 Thread Joakim Zhang
.org; dl-linux-imx ; Joakim > Zhang > Subject: [PATCH] can: flexcan: fix timeout when set small bitrate > > Current we can meet timeout issue when setting a small bitrate like 1 as > follows on i.MX6UL EVK board (ipg clock = 66MHZ, per clock = 30MHZ): > root@imx6ul7d:~# ip lin

RE: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Aisheng Dong
PATCH] can: flexcan: fix timeout when set small bitrate > > Current we can meet timeout issue when setting a small bitrate like 1 as > follows on i.MX6UL EVK board (ipg clock = 66MHZ, per clock = 30MHZ): > root@imx6ul7d:~# ip link set can0 up type can bitrate 1 A link chang

[PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Joakim Zhang
Current we can meet timeout issue when setting a small bitrate like 1 as follows on i.MX6UL EVK board (ipg clock = 66MHZ, per clock = 30MHZ): root@imx6ul7d:~# ip link set can0 up type can bitrate 1 A link change request failed with some changes committed already. Interface can0 may have bee

RE: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Joakim Zhang
PATCH] can: flexcan: fix timeout when set small bitrate > > On 1/31/19 9:48 AM, Joakim Zhang wrote: > >> Which SoC are you using? Which clock rate has the flexcan IP core? > > > > We tested on i.MX6 series boards and all met this issue. And ipg clock > > rate > i

Re: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Marc Kleine-Budde
On 1/31/19 9:48 AM, Joakim Zhang wrote: >> Which SoC are you using? Which clock rate has the flexcan IP core? > > We tested on i.MX6 series boards and all met this issue. And ipg clock rate > is 66MHZ, per clock rate is 30MHZ. ok > >>> It is caused by calling of flexcan_chip_unfreeze() timeo

RE: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Aisheng Dong
> From: Joakim Zhang > Sent: Thursday, January 31, 2019 4:49 PM [...] > > > Current we can meet timeout issue when setting a small bitrate like > > > 1 as follows: > > > root@imx6qdlsolo:~# ip link set can0 up type can bitrate 1 A > > > link change request failed with some changes committed

RE: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-31 Thread Joakim Zhang
PATCH] can: flexcan: fix timeout when set small bitrate > > On 1/31/19 7:58 AM, Joakim Zhang wrote: > > From: Dong Aisheng > > > > Current we can meet timeout issue when setting a small bitrate like > > 1 as follows: > > root@imx6qdlsolo:~# ip link set can0 up

Re: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-30 Thread Marc Kleine-Budde
On 1/31/19 7:58 AM, Joakim Zhang wrote: > From: Dong Aisheng > > Current we can meet timeout issue when setting a small bitrate > like 1 as follows: > root@imx6qdlsolo:~# ip link set can0 up type can bitrate 1 > A link change request failed with some changes committed already. > Interface

[PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-30 Thread Joakim Zhang
From: Dong Aisheng Current we can meet timeout issue when setting a small bitrate like 1 as follows: root@imx6qdlsolo:~# ip link set can0 up type can bitrate 1 A link change request failed with some changes committed already. Interface can0 may have been left with an inconsistent configur