Skip to content

Commit

Permalink
sound: sh: ctrl_in/outX to __raw_read/writeX conversion.
Browse files Browse the repository at this point in the history
The ctrl_xxx routines are deprecated, switch over to the __raw_xxx
versions.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Oct 27, 2010
1 parent 1e5cefd commit 48ccb2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static void spu_reset(void)
spu_memset(0, 0, 0x200000 / 4);
/* Put ARM7 in endless loop */
local_irq_save(flags);
ctrl_outl(0xea000002, SPU_MEMORY_BASE);
__raw_writel(0xea000002, SPU_MEMORY_BASE);
local_irq_restore(flags);
spu_enable();
}
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/sh/sh7760-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ static int __init sh7760_ac97_init(void)
unsigned short ipsel;

/* enable both AC97 controllers in pinmux reg */
ipsel = ctrl_inw(IPSEL);
ctrl_outw(ipsel | (3 << 10), IPSEL);
ipsel = __raw_readw(IPSEL);
__raw_writew(ipsel | (3 << 10), IPSEL);

ret = -ENOMEM;
sh7760_ac97_snd_device = platform_device_alloc("soc-audio", -1);
Expand Down

0 comments on commit 48ccb2c

Please sign in to comment.