Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56641
b: refs/heads/master
c: d1b945f
h: refs/heads/master
i:
  56639: c36ded5
v: v3
  • Loading branch information
Michael Hennerich authored and Linus Torvalds committed May 21, 2007
1 parent 112edd0 commit d712ffe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 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: 9ae246cd85e05d3fb31b9770588c1fe0914872fe
refs/heads/master: d1b945fdb62f3e6852fea5a8779c0151ac1e55a8
6 changes: 4 additions & 2 deletions trunk/include/asm-blackfin/mach-bf533/cdefBF532.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
{
unsigned long flags, iwr;

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();
/* Enable the PLL Wakeup bit in SIC IWR */
iwr = bfin_read32(SIC_IWR);
/* Only allow PPL Wakeup) */
bfin_write32(SIC_IWR, IWR_ENABLE(0));

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();

local_irq_save(flags);
asm("IDLE;");
local_irq_restore(flags);
Expand Down
6 changes: 4 additions & 2 deletions trunk/include/asm-blackfin/mach-bf537/cdefBF534.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
{
unsigned long flags, iwr;

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();
/* Enable the PLL Wakeup bit in SIC IWR */
iwr = bfin_read32(SIC_IWR);
/* Only allow PPL Wakeup) */
bfin_write32(SIC_IWR, IWR_ENABLE(0));

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();

local_irq_save(flags);
asm("IDLE;");
local_irq_restore(flags);
Expand Down
6 changes: 4 additions & 2 deletions trunk/include/asm-blackfin/mach-bf561/cdefBF561.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
{
unsigned long flags, iwr;

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();
/* Enable the PLL Wakeup bit in SIC IWR */
iwr = bfin_read32(SICA_IWR0);
/* Only allow PPL Wakeup) */
bfin_write32(SICA_IWR0, IWR_ENABLE(0));

bfin_write16(VR_CTL, val);
__builtin_bfin_ssync();

local_irq_save(flags);
asm("IDLE;");
local_irq_restore(flags);
Expand Down

0 comments on commit d712ffe

Please sign in to comment.