diff options
author | Curtis Malainey <cujomalainey@chromium.org> | 2019-12-03 09:30:07 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-04 11:15:30 +0000 |
commit | 4bf2e385aa59c2fae5f880aa25cfd2b470109093 (patch) | |
tree | e45468415a1ab214b52cb095d0bbf13f327178d6 /include/sound/da7218.h | |
parent | d5ee9108adacfbed140e0ac2371941ce7ca1fc54 (diff) |
ASoC: core: Init pcm runtime work early to avoid warnings
There are cases where we fail before we reach soc_new_pcm which would
init the workqueue. When we fail we attempt to flush the queue which
generates warnings from the workqueue subsystem when we have not inited
the queue. Solution is to use a proxy function to get around this issue.
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191203173007.46504-1-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/da7218.h')
0 files changed, 0 insertions, 0 deletions