From: Sudip Mukherjee Date: Thu, 6 Nov 2014 13:04:27 +0000 (-0300) Subject: [media] media: davinci: vpbe: missing clk_put X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47efeb52f78fd37df91d13e15296f8070d549f81;p=pandora-kernel.git [media] media: davinci: vpbe: missing clk_put we are getting struct clk using clk_get before calling clk_prepare_enable. but if clk_prepare_enable fails, then we are jumping to fail_mutex_unlock where we are just unlocking the mutex, but we are not freeing the clock source. this patch just adds a call to clk_put before jumping to fail_mutex_unlock. Signed-off-by: Sudip Mukherjee Acked-by: Lad, Prabhakar Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed