[Sound-open-firmware] [PATCH] ASoC: sof: Fix oops due to trace_sleep use before init

Liam Girdwood liam.r.girdwood at linux.intel.com
Tue Mar 20 11:45:47 CET 2018


On Mon, 2018-03-19 at 16:28 -0700, Pierre-Louis Bossart wrote:
> >                params.hdr.cmd, &params, sizeof(params),
> > @@ -255,8 +258,6 @@ int snd_sof_init_trace(struct snd_sof_dev *sdev)
> >                goto table_err;
> 
> if for some reason this IPC fails, then we end-end with the trace_sleep 
> and host_offset initialized. Is this ok?

Yes.

Liam


More information about the Sound-open-firmware mailing list