RE: [PATCH] i2c/mpc: Fix ISR return value

2015-03-27 Thread Amit Tomar
>>I can't apply the patch. There seem to be whitespace problems. Please fix >>the patch or your mail sending. Sorry for the Delayed response and It's my Bad as I didn't pass it through checkpatch. I would send a fresh patch. Thanks Amit. > --- > drivers/i2c/busses/i2c-mpc.c |    3 ++- > 1

[PATCH] i2c/mpc: Fix ISR return value

2015-01-30 Thread Amit Tomar
ISR should not return IRQ_HANDLED for not handling anything. This patch fixes the return value of ISR for the same case. Signed-off-by: Amit Singh Tomar --- drivers/i2c/busses/i2c-mpc.c |    3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/driver

Re: [Patch] :Fix ISR return value in i2c-mpc.c

2014-12-12 Thread Amit Tomar
Fri, 2014-12-12 at 11:17 +, Amit Tomar wrote: > In current scenario, ISR of i2c-mpc.c is returning IRQ_HANDLED for doing > nothing which is not right . > > With below patch ISR now return IRQ_NONE for doing nothing and IRQ_HANDLED > for doing handler work. Wrap the commit me

RE: [Patch] :Fix ISR return value in i2c-mpc.c

2014-12-12 Thread Amit Tomar
In current scenario, ISR of i2c-mpc.c is returning IRQ_HANDLED for doing nothing which is not right . With below patch ISR now return IRQ_NONE for doing nothing and IRQ_HANDLED for doing handler work. Signed-off-by: Amit Singh Tomar --- drivers/i2c/busses/i2c-mpc.c |    3 ++- 1 file changed,

[Patch] :Fix ISR return value in i2c-mpc.c

2014-12-12 Thread Amit Tomar
ISR should return IRQ_HANDLED only in case of handling something. Signed-off-by: Amit Singh Tomar --- drivers/i2c/busses/i2c-mpc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 0edf630..7a3136f 100644 ---