Re: [PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-09 Thread Wolfram Sang
(Ooops, this mail got somehow into my postponed folder. Sending anyhow...) On Wed, Aug 06, 2014 at 06:03:25PM +0530, Pramod Gurav wrote: > This fixes a error handling scenario where clocks were not being disabled > when QUP_OUTPUT_BLOCK_SIZE returns a size greater than the size of blk_sizes > arr

[PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-06 Thread Pramod Gurav
This fixes a error handling scenario where clocks were not being disabled when QUP_OUTPUT_BLOCK_SIZE returns a size greater than the size of blk_sizes array. So this patch adds a statement to jump to the fail lable to release the clocks. CC: Wolfram Sang CC: Grant Likely CC: Bjorn Andersson CC:

Re: [PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-06 Thread Christopher Covington
Hi Pramod, Not a big deal, but some typos caught my eye. On 08/06/2014 03:53 AM, Pramod Gurav wrote: > This fixes a error handling scenario where clocks were not being disabled > when QUP_OUTPUT_BLOCK_SIZE returns a size greater thanat size of blk_sizes s/thanat/than the/ > array. So this patch

Re: [PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-06 Thread Ivan T. Ivanov
On Wed, 2014-08-06 at 13:23 +0530, Pramod Gurav wrote: > This fixes a error handling scenario where clocks were not being disabled > when QUP_OUTPUT_BLOCK_SIZE returns a size greater thanat size of blk_sizes > array. So this patch adds a statement to jump to err lable to release the > clocks. > >

[PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-06 Thread Pramod Gurav
This fixes a error handling scenario where clocks were not being disabled when QUP_OUTPUT_BLOCK_SIZE returns a size greater thanat size of blk_sizes array. So this patch adds a statement to jump to err lable to release the clocks. CC: Wolfram Sang CC: Grant Likely CC: Bjorn Andersson CC: Andy G

[PATCH] i2c: qup: disable clks and return instead of just returning error

2014-08-06 Thread Pramod Gurav
This fixes a error handling scenario where clocks were not being disabled when QUP_OUTPUT_BLOCK_SIZE returns a size greater thanat size of blk_sizes array. So this patch adds a statement to jump to err lable to release the clocks. Wolfram Sang Grant Likely Bjorn Andersson Andy Gross "Ivan T. I