aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ssb/main.c')
-rw-r--r--drivers/ssb/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index ff109ae94767..df0f145c22fc 100644
--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -1078,6 +1078,9 @@ u32 ssb_clockspeed(struct ssb_bus *bus)
1078 u32 plltype; 1078 u32 plltype;
1079 u32 clkctl_n, clkctl_m; 1079 u32 clkctl_n, clkctl_m;
1080 1080
1081 if (bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU)
1082 return ssb_pmu_get_controlclock(&bus->chipco);
1083
1081 if (ssb_extif_available(&bus->extif)) 1084 if (ssb_extif_available(&bus->extif))
1082 ssb_extif_get_clockcontrol(&bus->extif, &plltype, 1085 ssb_extif_get_clockcontrol(&bus->extif, &plltype,
1083 &clkctl_n, &clkctl_m); 1086 &clkctl_n, &clkctl_m);