On Tue, 01 Feb 2022 12:21:44 +0100, Peter Ujfalusi wrote: > > If the codec->registered is not set then it means that pm_runtime is > not yet enabled and the codec->pcm_list_head has not been initialized. > > The access to the not initialized pcm_list_head will lead a kernel crash > during shutdown. > > Reported-by: Guennadi Liakhovetski <guennadi.liakhovetski@xxxxxxxxxxxxxxx> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx> > Tested-by: Guennadi Liakhovetski <guennadi.liakhovetski@xxxxxxxxxxxxxxx> Thanks, applied now. Takashi