Re: [PATCH V2 -next] [media] media: i2c: lm3560: fix missing unlock on error in lm3560_get_ctrl().

2013-12-06 Thread Sakari Ailus
Hi Daniel, Thanks for the update. On Fri, Dec 06, 2013 at 02:43:27PM +0900, Daniel Jeong wrote: > Sorry I should have checked below things before sending the first patch. Applied to my tree with the above line removed, and subject changed slightly to mention the other change. I hope that's ok fo

[PATCH V2 -next] [media] media: i2c: lm3560: fix missing unlock on error in lm3560_get_ctrl().

2013-12-05 Thread Daniel Jeong
Sorry I should have checked below things before sending the first patch. Correct reference of reading values. (rval -> reg_val) Add the missing unlock before return from function lm3560_get_ctrl() to avoid deadlock. Thank you Dan Carpenter & Sakari. Signed-off-by: Daniel Jeong --- drivers/medi