Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25975
b: refs/heads/master
c: 8db08de
h: refs/heads/master
i:
  25973: 0c6a97a
  25971: ad7524e
  25967: f747a31
v: v3
  • Loading branch information
David Barksdale authored and Linus Torvalds committed Apr 19, 2006
1 parent cf5a2a7 commit dd4b558
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b73781c866f671ff5a84d7c840510b43e8731d13
refs/heads/master: 8db08de4f6ae24e90aedf5125b5ddd52ffff15f4
8 changes: 4 additions & 4 deletions trunk/drivers/i2c/chips/m41t00.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ m41t00_set(void *arg)
if ((i2c_smbus_write_byte_data(save_client, 0, tm.tm_sec & 0x7f) < 0)
|| (i2c_smbus_write_byte_data(save_client, 1, tm.tm_min & 0x7f)
< 0)
|| (i2c_smbus_write_byte_data(save_client, 2, tm.tm_hour & 0x7f)
|| (i2c_smbus_write_byte_data(save_client, 2, tm.tm_hour & 0x3f)
< 0)
|| (i2c_smbus_write_byte_data(save_client, 4, tm.tm_mday & 0x7f)
|| (i2c_smbus_write_byte_data(save_client, 4, tm.tm_mday & 0x3f)
< 0)
|| (i2c_smbus_write_byte_data(save_client, 5, tm.tm_mon & 0x7f)
|| (i2c_smbus_write_byte_data(save_client, 5, tm.tm_mon & 0x1f)
< 0)
|| (i2c_smbus_write_byte_data(save_client, 6, tm.tm_year & 0x7f)
|| (i2c_smbus_write_byte_data(save_client, 6, tm.tm_year & 0xff)
< 0))

dev_warn(&save_client->dev,"m41t00: can't write to rtc chip\n");
Expand Down

0 comments on commit dd4b558

Please sign in to comment.