Skip to content
Snippets Groups Projects
Commit 3cf357df authored by Pramod Gurav's avatar Pramod Gurav Committed by Wolfram Sang
Browse files

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: default avatarPramod Gurav <pramod.gurav@smartplayin.com>
Acked-by: default avatarIvan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 741d3589
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment