summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-12-14 09:05:24 +0100
committerTakashi Iwai <tiwai@suse.de>2020-12-14 09:05:29 +0100
commite5fab13a7c54b8e69ea3bb27067eb06aba5f19b5 (patch)
tree32ee15f944c907b7442da9d124efba8e67c7ece6 /sound/soc/codecs/wm_adsp.c
parentd84489e374f5b9b3ab424a5169e68e06a4329524 (diff)
parentc6dde8ffd071aea9d1ce64279178e470977b235c (diff)
Merge branch 'for-linus' into for-next
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index bcf18bf15a02..e61d00486c65 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -1937,6 +1937,7 @@ static int wm_adsp_load(struct wm_adsp *dsp)
mem = wm_adsp_find_region(dsp, type);
if (!mem) {
adsp_err(dsp, "No region of type: %x\n", type);
+ ret = -EINVAL;
goto out_fw;
}