RE: [patch] V4L/DVB: unlock on error path

2010-08-19 Thread Sylwester Nawrocki
> Sent: Thursday, August 12, 2010 9:42 AM > To: Mauro Carvalho Chehab > Cc: Pawel Osciak; Kyungmin Park; Sylwester Nawrocki; linux- > me...@vger.kernel.org; kernel-janit...@vger.kernel.org > Subject: [patch] V4L/DVB: unlock on error path > > If we return directly here then we miss

[patch] V4L/DVB: unlock on error path

2010-08-12 Thread Dan Carpenter
If we return directly here then we miss out on some mutex_unlock()s Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c index b151c7b..1beb226 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.c +++ b/drivers/media/vide