From: Pramod Gurav Date: Wed, 6 Aug 2014 12:33:25 +0000 (+0530) Subject: i2c: qup: disable clks and return instead of just returning error X-Git-Tag: cleanup-for-v3.18~66^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf357dfb40b4a594a704f05b629cb5db97cc7fb;p=pandora-kernel.git i2c: qup: disable clks and return instead of just returning error 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. Signed-off-by: Pramod Gurav Acked-by: Ivan T. Ivanov Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed