30 Oct
2013
30 Oct
'13
7:35 a.m.
Otherwise you'll see unrelated error message, too.
Spotted by coverity CID 715173.
Signed-off-by: Takashi Iwai tiwai@suse.de --- sound/soc/codecs/ab8500-codec.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index 6e3dda1ca734..0693faf7effb 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c @@ -2132,6 +2132,7 @@ static int ab8500_codec_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dev_err(dai->codec->dev, "%s: ERROR: The device is either a master or a slave.\n", __func__); + return -EINVAL; default: dev_err(dai->codec->dev, "%s: ERROR: Unsupporter master mask 0x%x\n",
--
1.8.4.1