Re: [PATCH v2 3/3] watchdog: sprd: change to use usleep_range() instead of busy loop

2020-11-08 Thread Guenter Roeck
On 10/28/20 7:39 PM, Chunyan Zhang wrote: > From: Chunyan Zhang > > After changing to check busy bit for the previous loading operation instead > of the current one, for most of cases, the busy bit is not set for the > first time of read, so there's no need to check so frequently, so this > patch

[PATCH v2 3/3] watchdog: sprd: change to use usleep_range() instead of busy loop

2020-10-29 Thread Chunyan Zhang
From: Chunyan Zhang After changing to check busy bit for the previous loading operation instead of the current one, for most of cases, the busy bit is not set for the first time of read, so there's no need to check so frequently, so this patch use usleep_range() to replace cpu_relax() to avoid bu

[PATCH v2 3/3] watchdog: sprd: change to use usleep_range() instead of busy loop

2020-10-28 Thread Chunyan Zhang
From: Chunyan Zhang After changing to check busy bit for the previous loading operation instead of the current one, for most of cases, the busy bit is not set for the first time of read, so there's no need to check so frequently, so this patch use usleep_range() to replace cpu_relax() to avoid bu