video: amba_clcd: Clock balance fixes and power optimization changes

wellsk40 at gmail.com wellsk40 at gmail.com
Wed Aug 11 19:03:02 EDT 2010


These patches fix clock balance issues (clk_disable called when
clk_enabled was not previously called) and optimizes clocking for
register access.

[PATCH 1/2] video: amba_clcd: Fix driver clock enable/disable balance issues
[PATCH 2/2] video: amba_clcd: Seperate controller and register clock enables

Patch 1 is basically RK's suggested fix repackaged here.

The register clocking fix was written to avoid calling the AMBA
clock enable and disable functions as nested calls (ie, 2 calls
to disable). The number of calls can be reduced by a few calls if
nesting can be used. This depends on the arch's clock drivers and
whether they support nesting. The method used here is safe for
clock drivers that don't like nested calls.

These patches can be pulled from:
	git://lpclinux.com/linux-2.6-lpc pl11x_clk_fixes




More information about the linux-arm-kernel mailing list