Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198522
b: refs/heads/master
c: 91dc74e
h: refs/heads/master
v: v3
  • Loading branch information
Pinkava J authored and Ben Dooks committed May 23, 2010
1 parent f6a63ff commit 8c502fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: fda225774ed0f3742eb2337680e5221dfa49dad8
refs/heads/master: 91dc74e479e1ea0bb8864694303e6fe5612b707c
8 changes: 6 additions & 2 deletions trunk/arch/arm/plat-samsung/pm-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,10 @@ void s3c_pm_save_gpios(void)

for (gpio_nr = 0; gpio_nr < S3C_GPIO_END;) {
ourchip = s3c_gpiolib_getchip(gpio_nr);
if (!ourchip)
if (!ourchip) {
gpio_nr++;
continue;
}

s3c_pm_save_gpio(ourchip);

Expand Down Expand Up @@ -369,8 +371,10 @@ void s3c_pm_restore_gpios(void)

for (gpio_nr = 0; gpio_nr < S3C_GPIO_END;) {
ourchip = s3c_gpiolib_getchip(gpio_nr);
if (!ourchip)
if (!ourchip) {
gpio_nr++;
continue;
}

s3c_pm_resume_gpio(ourchip);

Expand Down

0 comments on commit 8c502fe

Please sign in to comment.