Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216875
b: refs/heads/master
c: 0aed043
h: refs/heads/master
i:
  216873: 3a4d1ab
  216871: fe9c16a
v: v3
  • Loading branch information
Kevin Hilman committed Sep 24, 2010
1 parent 8f7d7a5 commit b2ff80c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: cbf27660e692d8c74087c0ccb80225207d280af1
refs/heads/master: 0aed043517ad4135cb458a46e9e99e21cbb59c69
6 changes: 4 additions & 2 deletions trunk/arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2085,8 +2085,9 @@ void omap2_gpio_prepare_for_idle(int power_state)
for (i = min; i < gpio_bank_count; i++) {
struct gpio_bank *bank = &gpio_bank[i];
u32 l1, l2;
int j;

if (bank->dbck_enable_mask)
for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++)
clk_disable(bank->dbck);

if (power_state > PWRDM_POWER_OFF)
Expand Down Expand Up @@ -2152,8 +2153,9 @@ void omap2_gpio_resume_after_idle(void)
for (i = min; i < gpio_bank_count; i++) {
struct gpio_bank *bank = &gpio_bank[i];
u32 l, gen, gen0, gen1;
int j;

if (bank->dbck_enable_mask)
for (j = 0; j < hweight_long(bank->dbck_enable_mask); j++)
clk_enable(bank->dbck);

if (!workaround_enabled)
Expand Down

0 comments on commit b2ff80c

Please sign in to comment.