aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-10 18:11:24 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-03 11:59:15 -0400
commitafa2f1066e7288a9e4f8e3fda277da245219dffc (patch)
tree3f19f2e84e797e6fc45bb5f81e0dc6dae393da76 /include/sound/soc.h
parent7084a42b965d972079201414d19a399e65b26099 (diff)
ASoC: Factor out I2C 8 bit address 16 bit data I/O
As part of this refactoring the type of the CODEC hw_read operation is changed to match the regular read operation. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index d0b29a509bdd..4a5846e72473 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -373,7 +373,7 @@ struct snd_soc_codec {
373 size_t, unsigned int); 373 size_t, unsigned int);
374 int (*volatile_register)(unsigned int); 374 int (*volatile_register)(unsigned int);
375 hw_write_t hw_write; 375 hw_write_t hw_write;
376 hw_read_t hw_read; 376 unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
377 void *reg_cache; 377 void *reg_cache;
378 short reg_cache_size; 378 short reg_cache_size;
379 short reg_cache_step; 379 short reg_cache_step;