summaryrefslogtreecommitdiff
path: root/drivers/vfio/vfio.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2014-12-03 20:35:29 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-12-05 19:30:23 +0300
commit4faee128843c7c1c9a8af83ea300cc3f1cc83da0 (patch)
tree2da73c62aa58af31c8b972444deffbab003b68db /drivers/vfio/vfio.c
parentab71f99fd70b3ff6f74928612778f553836fb1c0 (diff)
downloadlinux-4faee128843c7c1c9a8af83ea300cc3f1cc83da0.tar.xz
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 <dbaryshkov@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/vfio/vfio.c')
0 files changed, 0 insertions, 0 deletions