diff options
| author | Takashi Iwai <[email protected]> | 2015-04-13 12:23:29 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-04-15 16:04:15 +0000 |
| commit | 96f05be37f4ece1dffba92d4ae079a486a4cf6df (patch) | |
| tree | 96a01feb916b411df2cc43600dec625f907b0b7f /net/switchdev/switchdev.c | |
| parent | Merge remote-tracking branches 'asoc/topic/wm2200', 'asoc/topic/wm5100', 'aso... (diff) | |
| download | kernel-96f05be37f4ece1dffba92d4ae079a486a4cf6df.tar.gz kernel-96f05be37f4ece1dffba92d4ae079a486a4cf6df.zip | |
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 <[email protected]>
Acked-by: Kenneth Westfield <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
