Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319952
b: refs/heads/master
c: 8e74b6e
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 31, 2012
1 parent 509d739 commit 8b0d3b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: aa11ec593e2c68d57728d2ebb2da265468e410c9
refs/heads/master: 8e74b6edc9b7befd9f7a61b9271384eeb1eb8251
3 changes: 2 additions & 1 deletion trunk/drivers/rtc/rtc-r9701.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ static int __devinit r9701_probe(struct spi_device *spi)
dt.tm_mon = 0;
dt.tm_year = 100;

if (r9701_set_datetime(&spi->dev, &dt)) {
if (r9701_set_datetime(&spi->dev, &dt) ||
r9701_get_datetime(&spi->dev, &dt)) {
dev_err(&spi->dev, "cannot repair RTC register\n");
return -ENODEV;
}
Expand Down

0 comments on commit 8b0d3b7

Please sign in to comment.