Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190110
b: refs/heads/master
c: be80dba
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Wells authored and Ben Dooks committed Apr 20, 2010
1 parent e77dadf commit 176b7c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c6bd2010fced38444c9fd658f4c6ce61bd185bf
refs/heads/master: be80dbaa3ed64337693be58fb2f3808e78911ba6
2 changes: 2 additions & 0 deletions trunk/drivers/i2c/busses/i2c-pnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ static int __devinit i2c_pnx_probe(struct platform_device *pdev)
*/

tmp = ((freq / 1000) / I2C_PNX_SPEED_KHZ) / 2 - 2;
if (tmp > 0x3FF)
tmp = 0x3FF;
iowrite32(tmp, I2C_REG_CKH(alg_data));
iowrite32(tmp, I2C_REG_CKL(alg_data));

Expand Down

0 comments on commit 176b7c2

Please sign in to comment.