omap3:clock: check cpu_family before enabling clks for IVA & CAM
authorVaibhav Hiremath <hvaibhav@ti.com>
Sun, 4 Sep 2011 01:35:31 +0000 (21:35 -0400)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:17 +0000 (11:36 +0200)
commit7dd5a5be2fe8a23eb1bed2d3be8d3c6eade78c58
treeea01f6729307f235b5447282ed823f3a5afb6458
parentf4dac3e16c1a08eb087e711a7e0ada3cf390d7ea
omap3:clock: check cpu_family before enabling clks for IVA & CAM

In case of AM3517 and AM3505 (which is OMAP3 varients), IVA2 and
ISP-CAMERA modules have been removed. So add check for cpu_family before
enabling clocks for these modules, else this impacts subsequent
power consumption and system suspend/resume functionality.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap3/clock.c