diff options
| author | Kuninori Morimoto <[email protected]> | 2019-12-10 09:33:50 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-12-10 13:14:16 +0000 |
| commit | b553bd238da23041bf39110e58ee80f8efe034e0 (patch) | |
| tree | 3dac1df67f69fd33bf57d656819262341dc6c623 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | cc73390008c9a47c49ad73c459b5590fd4c4c890 (diff) | |
ASoC: soc-core: remove snd_soc_disconnect_sync()
Sound card disconnecting operation was needed when "sound driver" was
unbinded without unbinding "sound card".
In such case, sound driver should be stopped even though it was
playbacking/capturing. Otherwise clock open/close counter mismatch happen.
One headache was that we can't skip unbind in error case because unbind
operation doesn't check return value from each drivers.
snd_soc_disconnect_sync() was added for these purpose, and Renesas
sound card only is used it.
But now, ALSA SoC automatically disconnect sound card when sound driver
was unbinded. Thus, snd_soc_disconnect_sync() is no longer needed.
This patch removes it.
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions