Re: [PATCH] i2c: qup: disable clks and return instead of just returning error
From: Wolfram Sang
Date: Sat Aug 09 2014 - 15:32:38 EST
(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
> array. So this patch adds a statement to jump to the fail lable to release the
> clocks.
>
> CC: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> CC: Grant Likely <grant.likely@xxxxxxxxxx>
> CC: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx>
> CC: Andy Gross <agross@xxxxxxxxxxxxxx>
> CC: "Ivan T. Ivanov" <iivanov@xxxxxxxxxx>
>
> Signed-off-by: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx>
Applied to for-next with Ivan's ack from V2, thanks!
Please use "[PATCH V3]" and alike in the future to make it more obvious
which version is the most recent.
Attachment:
signature.asc
Description: Digital signature