thesofproject / linux

Linux kernel source tree
Other
91 stars 134 forks source link

ASoC: SOF: Correct sps->stream and cstream nullity management. #5224

Closed ujfalusi closed 3 weeks ago

ujfalusi commented 3 weeks ago

Hi,

Alternative PR to #5214

The Nullity of sps->cstream needs to be checked in sof_ipc_msg_data() and not assume that it is not NULL. The sps->stream must be cleared to NULL on close since this is used as a check to see if we have active PCM stream.

ujfalusi commented 3 weeks ago

Changes since v1: