ARM: OMAP3: PM: Fix the Invalid CM_CLKSTCTRL reg access.
authorAbhijit Pagare <abhijitpagare@ti.com>
Fri, 8 Jan 2010 22:23:04 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:04 +0000 (15:23 -0700)
commit98bb155130aca96f26b12b50a38db806a0021e59
tree4b990df4d11e3c6a20c74747e37e6e4232dcaf32
parent48bca0e9c7f428dc75ea2a9c37601e6cb47dae6f
ARM: OMAP3: PM: Fix the Invalid CM_CLKSTCTRL reg access.

In OMAP2/3 some of the clock-domains which did not have control
facility were being falsely written to and read using the CM_CLKSTCTRL
register though it did not exist for them. One check is added to remove
this flaw.

Signed-off-by: Abhijit Pagare <abhijitpagare@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/clockdomain.c