ASoC: Intel: fix error code cnl_set_dsp_D0()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 11 Dec 2020 10:06:52 +0000 (13:06 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 14 Dec 2020 17:29:59 +0000 (17:29 +0000)
commitf373a811fd9a69fc8bafb9bcb41d2cfa36c62665
tree2260d9670c7b64bc44aac808634f0566999583c2
parent84de089e770b57280d87dff51be894b6fda18810
ASoC: Intel: fix error code cnl_set_dsp_D0()

Return -ETIMEDOUT if the dsp boot times out instead of returning
success.

Fixes: cb6a55284629 ("ASoC: Intel: cnl: Add sst library functions for cnl platform")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/X9NEvCzuN+IObnTN@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/cnl-sst.c