* [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0()
@ 2020-12-11 10:06 Dan Carpenter
2020-12-14 9:08 ` Rojewski, Cezary
2020-12-14 18:17 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2020-12-11 10:06 UTC (permalink / raw)
To: Cezary Rojewski, Guneshwor Singh
Cc: alsa-devel, Andy Shevchenko, kernel-janitors, Jie Yang,
Takashi Iwai, Pierre-Louis Bossart, Liam Girdwood, Mark Brown
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>
---
Not tested.
sound/soc/intel/skylake/cnl-sst.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/intel/skylake/cnl-sst.c b/sound/soc/intel/skylake/cnl-sst.c
index fcd8dff27ae8..1275c149acc0 100644
--- a/sound/soc/intel/skylake/cnl-sst.c
+++ b/sound/soc/intel/skylake/cnl-sst.c
@@ -224,6 +224,7 @@ static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id)
"dsp boot timeout, status=%#x error=%#x\n",
sst_dsp_shim_read(ctx, CNL_ADSP_FW_STATUS),
sst_dsp_shim_read(ctx, CNL_ADSP_ERROR_CODE));
+ ret = -ETIMEDOUT;
goto err;
}
} else {
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0()
2020-12-11 10:06 [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0() Dan Carpenter
@ 2020-12-14 9:08 ` Rojewski, Cezary
2020-12-14 18:17 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Rojewski, Cezary @ 2020-12-14 9:08 UTC (permalink / raw)
To: Dan Carpenter
Cc: alsa-devel, Andy Shevchenko, Singh, Guneshwor O,
kernel-janitors, Jie Yang, Takashi Iwai, Pierre-Louis Bossart,
Liam Girdwood, Mark Brown
On 2020-12-11 11:06 AM, Dan Carpenter wrote:
> 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>
> ---
> Not tested.
>
> sound/soc/intel/skylake/cnl-sst.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sound/soc/intel/skylake/cnl-sst.c b/sound/soc/intel/skylake/cnl-sst.c
> index fcd8dff27ae8..1275c149acc0 100644
> --- a/sound/soc/intel/skylake/cnl-sst.c
> +++ b/sound/soc/intel/skylake/cnl-sst.c
> @@ -224,6 +224,7 @@ static int cnl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id)
> "dsp boot timeout, status=%#x error=%#x\n",
> sst_dsp_shim_read(ctx, CNL_ADSP_FW_STATUS),
> sst_dsp_shim_read(ctx, CNL_ADSP_ERROR_CODE));
> + ret = -ETIMEDOUT;
> goto err;
> }
> } else {
>
Thanks for the patch, Dan.
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0()
2020-12-11 10:06 [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0() Dan Carpenter
2020-12-14 9:08 ` Rojewski, Cezary
@ 2020-12-14 18:17 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-12-14 18:17 UTC (permalink / raw)
To: Dan Carpenter, Cezary Rojewski, Guneshwor Singh
Cc: alsa-devel, kernel-janitors, Jie Yang, Takashi Iwai,
Pierre-Louis Bossart, Liam Girdwood, Andy Shevchenko
On Fri, 11 Dec 2020 13:06:52 +0300, Dan Carpenter wrote:
> Return -ETIMEDOUT if the dsp boot times out instead of returning
> success.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: Intel: fix error code cnl_set_dsp_D0()
commit: f373a811fd9a69fc8bafb9bcb41d2cfa36c62665
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-14 18:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 10:06 [PATCH] ASoC: Intel: fix error code cnl_set_dsp_D0() Dan Carpenter
2020-12-14 9:08 ` Rojewski, Cezary
2020-12-14 18:17 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).