diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-04-04 11:21:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-04 13:42:32 +0200 |
commit | 09255c7ed8ca1f1ed99357b845d2f63fe2ef3e1e (patch) | |
tree | 0c15230ebd623d18ef36645bccd320de697fd54c /sound/soc/sof/sof-priv.h | |
parent | ASoC: mediatek: mt8186: Move some prints to debug level (diff) | |
download | linux-09255c7ed8ca1f1ed99357b845d2f63fe2ef3e1e.tar.xz linux-09255c7ed8ca1f1ed99357b845d2f63fe2ef3e1e.zip |
ASoC: SOF: Intel: hda-stream: Do not dereference hstream until it is safe
Only access hext_stream->hstream after it has been checked for NULL pointer
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230404092115.27949-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
0 files changed, 0 insertions, 0 deletions