diff options
| author | 2019-05-17 15:06:37 +0900 | |
|---|---|---|
| committer | 2019-05-20 15:21:42 +0100 | |
| commit | 2ffb0f580bded5f16ec4d619f8abb4745425e864 (patch) | |
| tree | 156bc7f1795b850c8f3d8e7d9344b4907bd6f63f /scripts/decode_stacktrace.sh | |
| parent | ASoC: rsnd: move pcm_new from snd_soc_component_driver to snd_soc_dai_driver (diff) | |
ASoC: soc-core: WARN() is not related to component->driver->probe
soc_probe_component() has WARN() under if (component->driver->probe),
but, this WARN() check is not related to .probe callback.
So, it should be called at (B) instead of (A).
This patch moves it out of if().
if (component->driver->probe) {
ret = component->driver->probe(component);
...
(A) WARN(...)
}
(B) WARN(...)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
