diff options
Diffstat (limited to 'sound/oss/dmasound')
-rw-r--r-- | sound/oss/dmasound/tas_common.h | 16 |
1 files changed, 8 insertions, 8 deletions
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; |