ARM: 8247/2: pcmcia: sa1100: make use of device clock
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 3 Dec 2014 17:42:51 +0000 (18:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 5 Dec 2014 16:30:33 +0000 (16:30 +0000)
commit86d88bfca4758a9a95cbd183c917d623abc3ce84
tree2fb3b851e0fc927ad50c0cabf847dcb5d87fe858
parentb02cba8693fca6bd9166dd541f6a61cd82f6e231
ARM: 8247/2: pcmcia: sa1100: make use of device clock

Use per-device clock (instead of calling cpufreq_get(0), which can
return 0 if no cpu frequency driver is selected) to program timings.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/sa1100_generic.c
drivers/pcmcia/sa11xx_base.c