]> git.baikalelectronics.ru Git - kernel.git/commit
omap3isp: Modify clocks registration to avoid circular references
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 29 Oct 2013 19:51:04 +0000 (20:51 +0100)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 4 Dec 2013 16:19:25 +0000 (17:19 +0100)
commit6aa5317db9dc3b9379fe81bac68b2ad720a13b8d
treea84b8471f7a311a1a5c3bfe19c116bb783ebf5ab
parentc6e4592105e3f004ec0d2343429739e9c31ad477
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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/isp.h