diff options
Diffstat (limited to 'drivers/ssb/main.c')
-rw-r--r-- | drivers/ssb/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index bb6317fb925c..2a0a1b99e0e4 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c | |||
@@ -1094,6 +1094,9 @@ u32 ssb_clockspeed(struct ssb_bus *bus) | |||
1094 | u32 plltype; | 1094 | u32 plltype; |
1095 | u32 clkctl_n, clkctl_m; | 1095 | u32 clkctl_n, clkctl_m; |
1096 | 1096 | ||
1097 | if (bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU) | ||
1098 | return ssb_pmu_get_controlclock(&bus->chipco); | ||
1099 | |||
1097 | if (ssb_extif_available(&bus->extif)) | 1100 | if (ssb_extif_available(&bus->extif)) |
1098 | ssb_extif_get_clockcontrol(&bus->extif, &plltype, | 1101 | ssb_extif_get_clockcontrol(&bus->extif, &plltype, |
1099 | &clkctl_n, &clkctl_m); | 1102 | &clkctl_n, &clkctl_m); |