diff options
| author | Pierre-Louis Bossart <[email protected]> | 2023-10-09 13:54:26 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-10-19 14:53:50 +0200 |
| commit | 17baaa1f950b19456618b792dbb5b3fbb12884a8 (patch) | |
| tree | f99af0a32fd59a62105dbf4d50df3bdb6442f197 /tools/perf/scripts/python | |
| parent | f549a82aff57865c47b5abd17336b23cd9bb2d2c (diff) | |
ASoC: SOF: core: Add probe_early and remove_late callbacks
The existing DSP probe may be handled in a workqueue to allow for
extra time, typically for the i915 request_module and HDAudio codec
handling.
With the upcoming changes for i915/Xe driver relying on the
-EPROBE_DEFER mechanism, we need to have a first pass of the probe
which cannot be pushed to a workqueue. Introduce 2 new optional
callbacks.
probe_early is called before the workqueue runs. remove_late may be
called from the workqueue if load is unsuccesful, but will otherwise
be called on module unload.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Acked-by: Mark Brown <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions