Re: [PATCH v2] i2c: sprd: use a specific timeout to avoid system hang up issue

2021-01-04 Thread Chunyan Zhang
On Tue, 5 Jan 2021 at 02:24, Wolfram Sang wrote: > > On Mon, Dec 14, 2020 at 12:58:50PM +0800, Chunyan Zhang wrote: > > From: Chunyan Zhang > > > > If the i2c device SCL bus being pulled up due to some exception before > > message transfer done, the system cannot receive the completing interrupt

Re: [PATCH v2] i2c: sprd: use a specific timeout to avoid system hang up issue

2021-01-04 Thread Wolfram Sang
On Mon, Dec 14, 2020 at 12:58:50PM +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > If the i2c device SCL bus being pulled up due to some exception before > message transfer done, the system cannot receive the completing interrupt > signal any more, it would not exit waiting loop until MAX_S

[PATCH v2] i2c: sprd: use a specific timeout to avoid system hang up issue

2020-12-13 Thread Chunyan Zhang
From: Chunyan Zhang If the i2c device SCL bus being pulled up due to some exception before message transfer done, the system cannot receive the completing interrupt signal any more, it would not exit waiting loop until MAX_SCHEDULE_TIMEOUT jiffies eclipse, that would make the system seemed hang u