Re: [PATCH] i2c: cadence: Implement timeout

2018-10-24 Thread Russell King - ARM Linux
On Wed, Oct 24, 2018 at 04:20:03PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > In some cases we are waiting in a loop. Replace the infinite wait with > the timeout. > > Signed-off-by: Shubhrajyoti Datta > --- > drivers/i2c/busses/i2c-cadence.c | 30

Re: [PATCH] i2c: cadence: Implement timeout

2018-10-24 Thread Russell King - ARM Linux
On Wed, Oct 24, 2018 at 04:20:03PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > In some cases we are waiting in a loop. Replace the infinite wait with > the timeout. > > Signed-off-by: Shubhrajyoti Datta > --- > drivers/i2c/busses/i2c-cadence.c | 30

[PATCH] i2c: cadence: Implement timeout

2018-10-24 Thread shubhrajyoti.datta
From: Shubhrajyoti Datta In some cases we are waiting in a loop. Replace the infinite wait with the timeout. Signed-off-by: Shubhrajyoti Datta --- drivers/i2c/busses/i2c-cadence.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git

[PATCH] i2c: cadence: Implement timeout

2018-10-24 Thread shubhrajyoti.datta
From: Shubhrajyoti Datta In some cases we are waiting in a loop. Replace the infinite wait with the timeout. Signed-off-by: Shubhrajyoti Datta --- drivers/i2c/busses/i2c-cadence.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git