Re: [PATCH] i2c: i2c-stm32f7: improve loopback in timing algorithm

2019-03-20 Thread Wolfram Sang
On Wed, Mar 06, 2019 at 03:12:32PM +, Bich HEMON wrote: > From: Nicolas Le Bayon > > This avoids useless loops inside the I2C timing algorithm. > Actually, we support only one possible solution per prescaler value. > So after finding a solution with a prescaler, the algorithm can > switch

Re: [PATCH] i2c: i2c-stm32f7: improve loopback in timing algorithm

2019-03-07 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thanks On 3/6/19 4:12 PM, Bich HEMON wrote: > From: Nicolas Le Bayon > > This avoids useless loops inside the I2C timing algorithm. > Actually, we support only one possible solution per prescaler value. > So after finding a solution with a prescaler, the

[PATCH] i2c: i2c-stm32f7: improve loopback in timing algorithm

2019-03-06 Thread Bich HEMON
From: Nicolas Le Bayon This avoids useless loops inside the I2C timing algorithm. Actually, we support only one possible solution per prescaler value. So after finding a solution with a prescaler, the algorithm can switch directly to the next prescaler value. Signed-off-by: Nicolas Le Bayon