diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-13 14:23:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-15 17:04:15 +0100 |
commit | 96f05be37f4ece1dffba92d4ae079a486a4cf6df (patch) | |
tree | 96a01feb916b411df2cc43600dec625f907b0b7f /drivers/acpi | |
parent | 7667428f80526d908124e0647ac5dbe3dad88900 (diff) | |
download | linux-96f05be37f4ece1dffba92d4ae079a486a4cf6df.tar.bz2 |
ASoC: qcom: Return an error for invalid PCM trigger command
Fix a compile warning
sound/soc/qcom/lpass-cpu.c: In function ‘lpass_cpu_daiops_trigger’:
sound/soc/qcom/lpass-cpu.c:224:2: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ret;
^
Although switch () lists the most of existing cases, it's still better
to cover the rest as an error properly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions