aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/driver_chipcommon.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-04-24 05:04:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-25 14:50:20 -0400
commit9835a30e980561082beb02ce724f6e555787bc19 (patch)
treeed934f465f29125162c795e973e9afc741c70f71 /drivers/ssb/driver_chipcommon.c
parent6dde1aabf6759848512f19d76b89ee473584c46a (diff)
ssb: cc: clear GPIOPULL registers on init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb/driver_chipcommon.c')
-rw-r--r--drivers/ssb/driver_chipcommon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ssb/driver_chipcommon.c b/drivers/ssb/driver_chipcommon.c
index 7c031fdc8205..b4b3733aefcf 100644
--- a/drivers/ssb/driver_chipcommon.c
+++ b/drivers/ssb/driver_chipcommon.c
@@ -260,6 +260,12 @@ void ssb_chipcommon_init(struct ssb_chipcommon *cc)
260 if (cc->dev->id.revision >= 11) 260 if (cc->dev->id.revision >= 11)
261 cc->status = chipco_read32(cc, SSB_CHIPCO_CHIPSTAT); 261 cc->status = chipco_read32(cc, SSB_CHIPCO_CHIPSTAT);
262 ssb_dprintk(KERN_INFO PFX "chipcommon status is 0x%x\n", cc->status); 262 ssb_dprintk(KERN_INFO PFX "chipcommon status is 0x%x\n", cc->status);
263
264 if (cc->dev->id.revision >= 20) {
265 chipco_write32(cc, SSB_CHIPCO_GPIOPULLUP, 0);
266 chipco_write32(cc, SSB_CHIPCO_GPIOPULLDOWN, 0);
267 }
268
263 ssb_pmu_init(cc); 269 ssb_pmu_init(cc);
264 chipco_powercontrol_init(cc); 270 chipco_powercontrol_init(cc);
265 ssb_chipco_set_clockmode(cc, SSB_CLKMODE_FAST); 271 ssb_chipco_set_clockmode(cc, SSB_CLKMODE_FAST);