summary refs log tree commit diff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2022-07-01 22:15:17 +0800
committerMark Brown <broonie@kernel.org>2022-07-07 17:16:37 +0100
commitc7dab6745f4288af1e45d3809bf86a3778301616 (patch)
treeb3fa63a912383697828b759dc2454a13c2c0c45c /sound/soc/codecs
parentdf5b4aca7248dc5a5cae93f162eae0decf972e48 (diff)
downloadlinux-c7dab6745f4288af1e45d3809bf86a3778301616.tar.gz
ASoC: Intel: sof_rt5682: fix out-of-bounds array access
Starting from ADL platform we have four HDMI PCM devices which exceeds
the size of sof_hdmi array. Since each sof_hdmi_pcm structure
represents one HDMI PCM device, we remove the sof_hdmi array and add a
new member hdmi_jack to the sof_hdmi_pcm structure to fix the
out-of-bounds problem.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220701141517.264070-1-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions