Re: [PATCH] ALSA: hda: Skip codec shutdown in case the codec is not registered

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux