From: Sylwester Nawrocki Date: Wed, 4 Dec 2013 17:12:03 +0000 (-0300) Subject: [media] omap3isp: Modify clocks registration to avoid circular references X-Git-Tag: v3.14-rc1~20^2~284 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8e2ff262142ba79d1d9f601684a5b9e2f75f397;p=pandora-kernel.git [media] omap3isp: Modify clocks registration to avoid circular references The clock core code is going to be modified so clk_get() takes reference on the clock provider module. Until the potential circular reference issue is properly addressed, we pass NULL as the first argument to clk_register(), in order to disallow sub-devices taking a reference on the ISP module back trough clk_get(). This should prevent locking the modules in memory. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed