ssb: get alp clock from devices with PMU
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Dec 2012 17:46:03 +0000 (18:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 19:58:57 +0000 (14:58 -0500)
commitf924e1e989b0bdaf6472668400d67a2142cb6b60
tree7da7eb703e6c302c50bcc383f32bb576f474c595
parenta4855f39d4eb3f550ca5f4aac79bd999da42dc54
ssb: get alp clock from devices with PMU

If there is a PMU in the device, get the alp clock from that part and
do not assume 20000000.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/driver_chipcommon.c
drivers/ssb/driver_chipcommon_pmu.c
drivers/ssb/ssb_private.h