media: ov2659: fix unbalanced mutex_lock/unlock
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 30 Mar 2019 14:01:32 +0000 (10:01 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 15:35:11 +0000 (11:35 -0400)
commit384538bda10913e5c94ec5b5d34bd3075931bcf4
tree494477aea486a9e11a8935fcb66d7a864f6cf344
parentbccb89cf9cd07a0690d519696a00c00a973b3fe4
media: ov2659: fix unbalanced mutex_lock/unlock

Avoid returning with mutex locked.

Fixes: fa8cb6444c32 ("[media] ov2659: Don't depend on subdev API")
Cc: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov2659.c