summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-06-07 12:52:12 +0200
committerMark Brown <broonie@kernel.org>2022-06-07 12:52:12 +0200
commit88406aa6dbbbb3a1752b130f14b47218a2251f3a (patch)
tree4a1a4567320d4930d0ac7f1ee07a6191d9b65451 /sound/soc/samsung
parentOPE support on Tegra210 and later (diff)
parentASoC: meson: remove useless initialization (diff)
downloadlinux-88406aa6dbbbb3a1752b130f14b47218a2251f3a.tar.xz
linux-88406aa6dbbbb3a1752b130f14b47218a2251f3a.zip
ASoC: trivial changes for cppcheck warnings
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: This can probably wait for the next merge window, I found a number of cppcheck warnings that I didn't see in my last checks. The irony is that the only really important issue found by cppcheck was on one of my previous DPCM changes (submitted separately as a fix).
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c
index 02372109c251..da342da03880 100644
--- a/sound/soc/samsung/snow.c
+++ b/sound/soc/samsung/snow.c
@@ -216,7 +216,7 @@ static int snow_probe(struct platform_device *pdev)
return dev_err_probe(&pdev->dev, ret,
"snd_soc_register_card failed\n");
- return ret;
+ return 0;
}
static int snow_remove(struct platform_device *pdev)