diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-02 18:36:34 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-03 11:15:35 +0000 |
commit | 28e9ad921d3b7defd8940a3e30e8241c8ed734db (patch) | |
tree | f37a1eaf18ed48fcf51c1f30410f7d3d82a9dbff /include | |
parent | b8ad29debd7401d257da923480d32838172c431a (diff) | |
download | linux-28e9ad921d3b7defd8940a3e30e8241c8ed734db.tar.gz linux-28e9ad921d3b7defd8940a3e30e8241c8ed734db.tar.bz2 linux-28e9ad921d3b7defd8940a3e30e8241c8ed734db.zip |
ASoC: Add a late_probe() callback to cards
This is run after the DAPM widgets and routes are added, allowing setup
of things like jacks using the routes. The main card probe() is run before
anything else so can't be used for this purpose.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 11d59bd13886..9c2a6dd170f1 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -682,6 +682,7 @@ struct snd_soc_card { bool instantiated; int (*probe)(struct snd_soc_card *card); + int (*late_probe)(struct snd_soc_card *card); int (*remove)(struct snd_soc_card *card); /* the pre and post PM functions are used to do any PM work before and |