diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 6424b10ac29c..f30f3fe4a41b 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -312,6 +312,10 @@ int snd_soc_default_readable_register(struct snd_soc_codec *codec, | |||
312 | unsigned int reg); | 312 | unsigned int reg); |
313 | int snd_soc_default_writable_register(struct snd_soc_codec *codec, | 313 | int snd_soc_default_writable_register(struct snd_soc_codec *codec, |
314 | unsigned int reg); | 314 | unsigned int reg); |
315 | int snd_soc_platform_read(struct snd_soc_platform *platform, | ||
316 | unsigned int reg); | ||
317 | int snd_soc_platform_write(struct snd_soc_platform *platform, | ||
318 | unsigned int reg, unsigned int val); | ||
315 | 319 | ||
316 | /* Utility functions to get clock rates from various things */ | 320 | /* Utility functions to get clock rates from various things */ |
317 | int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); | 321 | int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); |
@@ -658,6 +662,10 @@ struct snd_soc_platform_driver { | |||
658 | /* probe ordering - for components with runtime dependencies */ | 662 | /* probe ordering - for components with runtime dependencies */ |
659 | int probe_order; | 663 | int probe_order; |
660 | int remove_order; | 664 | int remove_order; |
665 | |||
666 | /* platform IO - used for platform DAPM */ | ||
667 | unsigned int (*read)(struct snd_soc_platform *, unsigned int); | ||
668 | int (*write)(struct snd_soc_platform *, unsigned int, unsigned int); | ||
661 | }; | 669 | }; |
662 | 670 | ||
663 | struct snd_soc_platform { | 671 | struct snd_soc_platform { |