diff options
author | Peter Ujfalusi | 2023-04-04 12:21:04 +0300 |
---|---|---|
committer | Mark Brown | 2023-04-04 12:42:32 +0100 |
commit | 09255c7ed8ca1f1ed99357b845d2f63fe2ef3e1e (patch) | |
tree | 0c15230ebd623d18ef36645bccd320de697fd54c /include/sound | |
parent | 3af24372964a8f999d62427c0585d9a4693ae4e4 (diff) |
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 'include/sound')
0 files changed, 0 insertions, 0 deletions