Messages in this thread | | | Subject | Re: [PATCH] i2c: qup: disable clks and return instead of just returning error | From | "Ivan T. Ivanov" <> | Date | Wed, 06 Aug 2014 14:21:01 +0300 |
| |
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. > > CC: Wolfram Sang <wsa@the-dreams.de> > CC: Grant Likely <grant.likely@linaro.org> > CC: Bjorn Andersson <bjorn.andersson@sonymobile.com> > CC: Andy Gross <agross@codeaurora.org> > CC: "Ivan T. Ivanov" <iivanov@mm-sol.com> > > Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Acked-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Thanks.
| |