1 From 974353557959d8ec1c022511cd1b3eeaa7ed482a Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 4 Jun 2011 15:55:24 +0200
4 Subject: [PATCH 15/15] ssb: fix ssb clock rate according to broadcom source
6 This fix was done according to si_clock_rate function in broadcom siutils.c
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
10 drivers/ssb/main.c | 4 ++--
11 1 files changed, 2 insertions(+), 2 deletions(-)
13 --- a/drivers/ssb/main.c
14 +++ b/drivers/ssb/main.c
15 @@ -1002,8 +1002,8 @@ u32 ssb_calc_clock_rate(u32 plltype, u32
17 case SSB_PLLTYPE_6: /* 100/200 or 120/240 only */
18 if (m & SSB_CHIPCO_CLK_T6_MMASK)
19 - return SSB_CHIPCO_CLK_T6_M0;
20 - return SSB_CHIPCO_CLK_T6_M1;
21 + return SSB_CHIPCO_CLK_T6_M1;
22 + return SSB_CHIPCO_CLK_T6_M0;
23 case SSB_PLLTYPE_1: /* 48Mhz base, 3 dividers */
24 case SSB_PLLTYPE_3: /* 25Mhz, 2 dividers */
25 case SSB_PLLTYPE_4: /* 48Mhz, 4 dividers */