diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-20 01:00:49 +0100 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2010-11-22 11:05:50 +0100 |
commit | 1c928b756d4906f50b832e19a2778bcd65ac0ef6 (patch) | |
tree | bb2466323b48b0b7cc3b8b6b391be38cdebfa592 /include | |
parent | 6f99739dbd336741b6d4ccf75ce49cc9b60ed3ba (diff) |
ASoC: core - add fixup function for BE hw_params
BE hw_params may be different from thier FE. Add a machine
specific callback to fixup.
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index ec8b1ed6f6ec..58a2f2150613 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -604,6 +604,10 @@ struct snd_soc_dai_link { /* codec/machine specific init - e.g. add machine controls */ int (*init)(struct snd_soc_pcm_runtime *rtd); + /* hw_params re-writing for BE and FE sync */ + int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, + struct snd_pcm_hw_params *params); + /* machine stream operations */ struct snd_soc_ops *ops; }; |