aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/au1550_ac97.c12
-rw-r--r--sound/oss/dmasound/tas_common.h16
-rw-r--r--sound/oss/emu10k1/recmgr.c2
3 files changed, 15 insertions, 15 deletions
diff --git a/sound/oss/au1550_ac97.c b/sound/oss/au1550_ac97.c
index b963c550dae6..bdee0502f3e2 100644
--- a/sound/oss/au1550_ac97.c
+++ b/sound/oss/au1550_ac97.c
@@ -462,7 +462,7 @@ stop_dac(struct au1550_state *s)
462 /* Wait for Transmit Busy to show disabled. 462 /* Wait for Transmit Busy to show disabled.
463 */ 463 */
464 do { 464 do {
465 stat = readl((void *)PSC_AC97STAT); 465 stat = au_readl(PSC_AC97STAT);
466 au_sync(); 466 au_sync();
467 } while ((stat & PSC_AC97STAT_TB) != 0); 467 } while ((stat & PSC_AC97STAT_TB) != 0);
468 468
@@ -491,7 +491,7 @@ stop_adc(struct au1550_state *s)
491 /* Wait for Receive Busy to show disabled. 491 /* Wait for Receive Busy to show disabled.
492 */ 492 */
493 do { 493 do {
494 stat = readl((void *)PSC_AC97STAT); 494 stat = au_readl(PSC_AC97STAT);
495 au_sync(); 495 au_sync();
496 } while ((stat & PSC_AC97STAT_RB) != 0); 496 } while ((stat & PSC_AC97STAT_RB) != 0);
497 497
@@ -541,7 +541,7 @@ set_xmit_slots(int num_channels)
541 /* Wait for Device ready. 541 /* Wait for Device ready.
542 */ 542 */
543 do { 543 do {
544 stat = readl((void *)PSC_AC97STAT); 544 stat = au_readl(PSC_AC97STAT);
545 au_sync(); 545 au_sync();
546 } while ((stat & PSC_AC97STAT_DR) == 0); 546 } while ((stat & PSC_AC97STAT_DR) == 0);
547} 547}
@@ -573,7 +573,7 @@ set_recv_slots(int num_channels)
573 /* Wait for Device ready. 573 /* Wait for Device ready.
574 */ 574 */
575 do { 575 do {
576 stat = readl((void *)PSC_AC97STAT); 576 stat = au_readl(PSC_AC97STAT);
577 au_sync(); 577 au_sync();
578 } while ((stat & PSC_AC97STAT_DR) == 0); 578 } while ((stat & PSC_AC97STAT_DR) == 0);
579} 579}
@@ -1995,7 +1995,7 @@ au1550_probe(void)
1995 /* Wait for PSC ready. 1995 /* Wait for PSC ready.
1996 */ 1996 */
1997 do { 1997 do {
1998 val = readl((void *)PSC_AC97STAT); 1998 val = au_readl(PSC_AC97STAT);
1999 au_sync(); 1999 au_sync();
2000 } while ((val & PSC_AC97STAT_SR) == 0); 2000 } while ((val & PSC_AC97STAT_SR) == 0);
2001 2001
@@ -2018,7 +2018,7 @@ au1550_probe(void)
2018 /* Wait for Device ready. 2018 /* Wait for Device ready.
2019 */ 2019 */
2020 do { 2020 do {
2021 val = readl((void *)PSC_AC97STAT); 2021 val = au_readl(PSC_AC97STAT);
2022 au_sync(); 2022 au_sync();
2023 } while ((val & PSC_AC97STAT_DR) == 0); 2023 } while ((val & PSC_AC97STAT_DR) == 0);
2024 2024
diff --git a/sound/oss/dmasound/tas_common.h b/sound/oss/dmasound/tas_common.h
index 3a6d48666db0..0741c28e56ce 100644
--- a/sound/oss/dmasound/tas_common.h
+++ b/sound/oss/dmasound/tas_common.h
@@ -178,10 +178,10 @@ tas_write_register( struct tas_data_t *self,
178 if (write_mode & WRITE_SHADOW) 178 if (write_mode & WRITE_SHADOW)
179 memcpy(self->shadow[reg_num],data,reg_width); 179 memcpy(self->shadow[reg_num],data,reg_width);
180 if (write_mode & WRITE_HW) { 180 if (write_mode & WRITE_HW) {
181 rc=i2c_smbus_write_block_data(self->client, 181 rc=i2c_smbus_write_i2c_block_data(self->client,
182 reg_num, 182 reg_num,
183 reg_width, 183 reg_width,
184 data); 184 data);
185 if (rc < 0) { 185 if (rc < 0) {
186 printk("tas: I2C block write failed \n"); 186 printk("tas: I2C block write failed \n");
187 return rc; 187 return rc;
@@ -199,10 +199,10 @@ tas_sync_register( struct tas_data_t *self,
199 199
200 if (reg_width==0 || self==NULL) 200 if (reg_width==0 || self==NULL)
201 return -EINVAL; 201 return -EINVAL;
202 rc=i2c_smbus_write_block_data(self->client, 202 rc=i2c_smbus_write_i2c_block_data(self->client,
203 reg_num, 203 reg_num,
204 reg_width, 204 reg_width,
205 self->shadow[reg_num]); 205 self->shadow[reg_num]);
206 if (rc < 0) { 206 if (rc < 0) {
207 printk("tas: I2C block write failed \n"); 207 printk("tas: I2C block write failed \n");
208 return rc; 208 return rc;
diff --git a/sound/oss/emu10k1/recmgr.c b/sound/oss/emu10k1/recmgr.c
index 67c3fd04cfdd..2ce56180e7d4 100644
--- a/sound/oss/emu10k1/recmgr.c
+++ b/sound/oss/emu10k1/recmgr.c
@@ -29,7 +29,7 @@
29 ********************************************************************** 29 **********************************************************************
30 */ 30 */
31 31
32#include <asm/delay.h> 32#include <linux/delay.h>
33#include "8010.h" 33#include "8010.h"
34#include "recmgr.h" 34#include "recmgr.h"
35 35