From: Dmitry Eremin-Solenikov Date: Wed, 3 Dec 2014 17:35:29 +0000 (+0100) Subject: ARM: 8242/1: sa1100: add cpu clock X-Git-Tag: omap-for-v3.19/fixes-rc1~105^2~1^4~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4faee128843c7c1c9a8af83ea300cc3f1cc83da0;p=pandora-kernel.git ARM: 8242/1: sa1100: add cpu clock Both SA1100 framebuffer and PCMCIA drivers require knowledge of cpu frequency to correctly program timings. Currently they receive timing information by calling cpufreq_get(0). However if cpu frequency driver is not enabled (e.g. due to unsupported DRAM chip/board on sa1110) cpufreq_get(0) returns 0, causing incorrect timings to be programmed. Add cpu clock returning cpu frequency, to be used by sa11x0 fb and pcmcia drivers. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Russell King --- Reading git-diff-tree failed