Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: soc-dapm.c: don't use WARN_ON() at snd_soc_dai_link_event_pre_p…
…mu() Current snd_soc_dai_link_event_pre_pmu() is checking "config". It is using dev_err() (A) if it was NULL, so we don't need to use WARN_ON() (B) to check it, it is over-kill. This patch removes it. (B) if (WARN_ON(!config)) { (A) dev_err(...); ... } Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
- Loading branch information