aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGravatar Peter Ujfalusi <peter.ujfalusi@linux.intel.com> 2022-04-27 14:51:59 +0300
committerGravatar Mark Brown <broonie@kernel.org> 2022-04-27 14:15:29 +0100
commitfd2cea169c4bc01f88bca84e4f01df48901c4339 (patch)
treef235218a64f409cc62ae493138518efe460d7a03 /include/uapi
parentASoC: Intel: atom: use pm_runtime_resume_and_get() (diff)
downloadlinux-fd2cea169c4bc01f88bca84e4f01df48901c4339.tar.gz
linux-fd2cea169c4bc01f88bca84e4f01df48901c4339.tar.bz2
linux-fd2cea169c4bc01f88bca84e4f01df48901c4339.zip
ASoC: SOF: Intel: Do not (wrongly) assume positive return value in IMR path
The cl_dsp_init() returns 0 on success or negative errno on error. Replace the 'if (ret >= 0)' checks with correct 'if (!ret)` to check for success. Fixes: 2a68ff846164 ("ASoC: SOF: Intel: hda: Revisit IMR boot sequence") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20220427115159.26177-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions