summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-02-08 22:07:20 +0000
committerMark Brown <broonie@kernel.org>2020-02-11 11:25:05 +0000
commit3025571edd9df653e1ad649f0638368a39d1bbb5 (patch)
treecc6c159983e8cf0ed6974c47571a74c099eca5f2 /tools/perf/scripts/python/bin
parent04dd656e8d506c12f5e97a24089b2991f5f00984 (diff)
downloadlinux-3025571edd9df653e1ad649f0638368a39d1bbb5.tar.gz
linux-3025571edd9df653e1ad649f0638368a39d1bbb5.zip
ASoC: Intel: mrfld: return error codes when an error occurs
Currently function sst_platform_get_resources always returns zero and error return codes set by the function are never returned. Fix this by returning the error return code in variable ret rather than the hard coded zero. Addresses-Coverity: ("Unused value") Fixes: f533a035e4da ("ASoC: Intel: mrfld - create separate module for pci part") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Cezary Rojewski <cezary.rojewski@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200208220720.36657-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions