git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
sound
/
oss
/
dmasound
/
tas_common.h
diff --git
a/sound/oss/dmasound/tas_common.h
b/sound/oss/dmasound/tas_common.h
index
3a6d486
..
0741c28
100644
(file)
--- 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,
if (write_mode & WRITE_SHADOW)
memcpy(self->shadow[reg_num],data,reg_width);
if (write_mode & WRITE_HW) {
if (write_mode & WRITE_SHADOW)
memcpy(self->shadow[reg_num],data,reg_width);
if (write_mode & WRITE_HW) {
- rc=i2c_smbus_write_block_data(self->client,
- reg_num,
- reg_width,
- data);
+ rc=i2c_smbus_write_
i2c_
block_data(self->client,
+
reg_num,
+
reg_width,
+
data);
if (rc < 0) {
printk("tas: I2C block write failed \n");
return rc;
if (rc < 0) {
printk("tas: I2C block write failed \n");
return rc;
@@
-199,10
+199,10
@@
tas_sync_register( struct tas_data_t *self,
if (reg_width==0 || self==NULL)
return -EINVAL;
if (reg_width==0 || self==NULL)
return -EINVAL;
- rc=i2c_smbus_write_block_data(self->client,
- reg_num,
- reg_width,
- self->shadow[reg_num]);
+ rc=i2c_smbus_write_
i2c_
block_data(self->client,
+
reg_num,
+
reg_width,
+
self->shadow[reg_num]);
if (rc < 0) {
printk("tas: I2C block write failed \n");
return rc;
if (rc < 0) {
printk("tas: I2C block write failed \n");
return rc;