]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: Correct sps->stream and cstream nullity
authorMark Brown <broonie@kernel.org>
Thu, 6 Feb 2025 16:16:38 +0000 (16:16 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 6 Feb 2025 16:16:38 +0000 (16:16 +0000)
commit199b87f1409b936cc23a8ba2d66a1ce962db7f0f
tree2f9f41a8600094e6c6fb955d7265fc0dda1d6aee
parentb9cb90a5bf9d0e96e4ff353d113b8a483f2e3942
parent46c7b901e2a03536df5a3cb40b3b26e2be505df6
ASoC: SOF: Correct sps->stream and cstream nullity

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

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.