Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211258
b: refs/heads/master
c: fa32154
h: refs/heads/master
v: v3
  • Loading branch information
Eric Millbrandt authored and Grant Likely committed Sep 8, 2010
1 parent 040a060 commit 7dbe5ec
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: 915b96191f01d53e30d74083dcf4aebfb5b7ce10
refs/heads/master: fa32154e47a203688453e53c1369fcbc63b06a21
8 changes: 6 additions & 2 deletions trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,16 @@ int mpc5200_psc_ac97_gpio_reset(int psc_number)
clrbits32(&simple_gpio->simple_dvo, sync | out);
clrbits8(&wkup_gpio->wkup_dvo, reset);

/* wait at lease 1 us */
udelay(2);
/* wait for 1 us */
udelay(1);

/* Deassert reset */
setbits8(&wkup_gpio->wkup_dvo, reset);

/* wait at least 200ns */
/* 7 ~= (200ns * timebase) / ns2sec */
__delay(7);

/* Restore pin-muxing */
out_be32(&simple_gpio->port_config, mux);

Expand Down

0 comments on commit 7dbe5ec

Please sign in to comment.