summaryrefslogtreecommitdiff
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorPramod Gurav <pramod.gurav@smartplayin.com>2014-08-06 18:03:25 +0530
committerWolfram Sang <wsa@the-dreams.de>2014-08-06 20:50:44 +0200
commit3cf357dfb40b4a594a704f05b629cb5db97cc7fb (patch)
tree222683da36b8fc8e69441b76b27fa9722f59683c /include/linux/i2c
parent741d3589e2213be4343529f57904521c6b846b10 (diff)
downloadlinux-3cf357dfb40b4a594a704f05b629cb5db97cc7fb.tar.gz
linux-3cf357dfb40b4a594a704f05b629cb5db97cc7fb.tar.xz
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 <pramod.gurav@smartplayin.com> Acked-by: Ivan T. Ivanov <iivanov@mm-sol.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions