Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104069
b: refs/heads/master
c: 786bef3
h: refs/heads/master
i:
  104067: c61dca2
v: v3
  • Loading branch information
Philipp Zabel authored and Samuel Ortiz committed Jul 20, 2008
1 parent 64804a6 commit a7644d1
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: 065032f61bd9acdb843766da3149de12eaf87c0b
refs/heads/master: 786bef3768a6ea1070526983b20e316c4eacd854
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ static __init int asic3_gpio_probe(struct platform_device *pdev,
u16 dir_reg[ASIC3_NUM_GPIO_BANKS];
int i;

memset(alt_reg, 0, ASIC3_NUM_GPIO_BANKS);
memset(out_reg, 0, ASIC3_NUM_GPIO_BANKS);
memset(dir_reg, 0, ASIC3_NUM_GPIO_BANKS);
memzero(alt_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16));
memzero(out_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16));
memzero(dir_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16));

/* Enable all GPIOs */
asic3_write_register(asic, ASIC3_GPIO_OFFSET(A, MASK), 0xffff);
Expand Down

0 comments on commit a7644d1

Please sign in to comment.