aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-02 03:42:17 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-02 03:42:17 -0400
commitdd8164c1dd7f511aa362f548fd8c4882bee3fd54 (patch)
treec89aa82919c776376875b631510091b029eb1458 /drivers
parentc039e3a8ddd52139d0f81711ecd757772f868b22 (diff)
parenta63b3bc7db32b63bfe5f48fa8582f931db81c86e (diff)
Merge remote-tracking branch 'scott/next' into next
Merge Freescale updates
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-cpm.c8
-rw-r--r--drivers/watchdog/booke_wdt.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c
index 3823623baa48..9e6002108720 100644
--- a/drivers/i2c/busses/i2c-cpm.c
+++ b/drivers/i2c/busses/i2c-cpm.c
@@ -338,6 +338,14 @@ static int cpm_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
338 tptr = 0; 338 tptr = 0;
339 rptr = 0; 339 rptr = 0;
340 340
341 /*
342 * If there was a collision in the last i2c transaction,
343 * Set I2COM_MASTER as it was cleared during collision.
344 */
345 if (in_be16(&tbdf->cbd_sc) & BD_SC_CL) {
346 out_8(&cpm->i2c_reg->i2com, I2COM_MASTER);
347 }
348
341 while (tptr < num) { 349 while (tptr < num) {
342 pmsg = &msgs[tptr]; 350 pmsg = &msgs[tptr];
343 dev_dbg(&adap->dev, "R: %d T: %d\n", rptr, tptr); 351 dev_dbg(&adap->dev, "R: %d T: %d\n", rptr, tptr);
diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
index a8dbceb32914..f1b8d555080e 100644
--- a/drivers/watchdog/booke_wdt.c
+++ b/drivers/watchdog/booke_wdt.c
@@ -138,6 +138,14 @@ static void __booke_wdt_enable(void *data)
138 val &= ~WDTP_MASK; 138 val &= ~WDTP_MASK;
139 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(booke_wdt_period)); 139 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(booke_wdt_period));
140 140
141#ifdef CONFIG_PPC_BOOK3E_64
142 /*
143 * Crit ints are currently broken on PPC64 Book-E, so
144 * just disable them for now.
145 */
146 val &= ~TCR_WIE;
147#endif
148
141 mtspr(SPRN_TCR, val); 149 mtspr(SPRN_TCR, val);
142} 150}
143 151