Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373167
b: refs/heads/master
c: 5c29e47
h: refs/heads/master
i:
  373165: 2e63481
  373163: 896d1db
  373159: cac1371
  373151: 900cc56
v: v3
  • Loading branch information
Samuel Ortiz committed Apr 5, 2013
1 parent dec8a74 commit bd1a050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5ebeaff5c5be9f21680b91aac77ee155d935f888
refs/heads/master: 5c29e47e6ac55b63c76999eb5b283a80208726c5
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/cros_ec_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev,

for (end = ptr + EC_MSG_PREAMBLE_COUNT; ptr != end; ptr++) {
if (*ptr == EC_MSG_HEADER) {
dev_dbg(ec_dev->dev, "msg found at %d\n",
dev_dbg(ec_dev->dev, "msg found at %ld\n",
ptr - ec_dev->din);
break;
}
Expand Down Expand Up @@ -154,7 +154,7 @@ static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev,
* maximum-supported transfer size.
*/
todo = min(need_len, 256);
dev_dbg(ec_dev->dev, "loop, todo=%d, need_len=%d, ptr=%d\n",
dev_dbg(ec_dev->dev, "loop, todo=%d, need_len=%d, ptr=%ld\n",
todo, need_len, ptr - ec_dev->din);

memset(&trans, '\0', sizeof(trans));
Expand All @@ -178,7 +178,7 @@ static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev,
need_len -= todo;
}

dev_dbg(ec_dev->dev, "loop done, ptr=%d\n", ptr - ec_dev->din);
dev_dbg(ec_dev->dev, "loop done, ptr=%ld\n", ptr - ec_dev->din);

return 0;
}
Expand Down

0 comments on commit bd1a050

Please sign in to comment.