mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
soc-pcm: WARN_ON invalid playback route
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
parent
cfd35bb3ea
commit
800362a852
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <linux/debugfs.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/export.h>
|
||||
#include <linux/bug.h>
|
||||
#include <sound/core.h>
|
||||
#include <sound/pcm.h>
|
||||
#include <sound/pcm_params.h>
|
||||
|
@ -2026,6 +2027,7 @@ int soc_dpcm_runtime_update(struct snd_soc_dapm_widget *widget)
|
|||
if (paths < 0) {
|
||||
dev_warn(fe->dev, "%s no valid %s route from source to sink\n",
|
||||
fe->dai_link->name, "playback");
|
||||
WARN_ON(1);
|
||||
ret = paths;
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue