.. | .. |
---|
119 | 119 | static enum ssb_clksrc chipco_pctl_get_slowclksrc(struct ssb_chipcommon *cc) |
---|
120 | 120 | { |
---|
121 | 121 | struct ssb_bus *bus = cc->dev->bus; |
---|
122 | | - u32 uninitialized_var(tmp); |
---|
| 122 | + u32 tmp; |
---|
123 | 123 | |
---|
124 | 124 | if (cc->dev->id.revision < 6) { |
---|
125 | 125 | if (bus->bustype == SSB_BUSTYPE_SSB || |
---|
.. | .. |
---|
149 | 149 | /* Get maximum or minimum (depending on get_max flag) slowclock frequency. */ |
---|
150 | 150 | static int chipco_pctl_clockfreqlimit(struct ssb_chipcommon *cc, int get_max) |
---|
151 | 151 | { |
---|
152 | | - int uninitialized_var(limit); |
---|
| 152 | + int limit; |
---|
153 | 153 | enum ssb_clksrc clocksrc; |
---|
154 | 154 | int divisor = 1; |
---|
155 | 155 | u32 tmp; |
---|
.. | .. |
---|
238 | 238 | } |
---|
239 | 239 | } |
---|
240 | 240 | |
---|
241 | | -/* http://bcm-v4.sipsolutions.net/802.11/PmuFastPwrupDelay */ |
---|
| 241 | +/* https://bcm-v4.sipsolutions.net/802.11/PmuFastPwrupDelay */ |
---|
242 | 242 | static u16 pmu_fast_powerup_delay(struct ssb_chipcommon *cc) |
---|
243 | 243 | { |
---|
244 | 244 | struct ssb_bus *bus = cc->dev->bus; |
---|
.. | .. |
---|
255 | 255 | } |
---|
256 | 256 | } |
---|
257 | 257 | |
---|
258 | | -/* http://bcm-v4.sipsolutions.net/802.11/ClkctlFastPwrupDelay */ |
---|
| 258 | +/* https://bcm-v4.sipsolutions.net/802.11/ClkctlFastPwrupDelay */ |
---|
259 | 259 | static void calc_fast_powerup_delay(struct ssb_chipcommon *cc) |
---|
260 | 260 | { |
---|
261 | 261 | struct ssb_bus *bus = cc->dev->bus; |
---|
.. | .. |
---|
425 | 425 | *m = chipco_read32(cc, SSB_CHIPCO_CLOCK_M2); |
---|
426 | 426 | break; |
---|
427 | 427 | } |
---|
428 | | - /* Fallthough */ |
---|
| 428 | + fallthrough; |
---|
429 | 429 | default: |
---|
430 | 430 | *m = chipco_read32(cc, SSB_CHIPCO_CLOCK_SB); |
---|
431 | 431 | } |
---|