linux/sound/soc/intel/boards
Brent Lu c7dab6745f
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>
2022-07-07 17:16:37 +01:00
..
bdw-rt5650.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bdw-rt5677.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
broadwell.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bxt_da7219_max98357a.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bxt_rt298.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bytcht_cx2072x.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bytcht_da7213.c ASoC: Intel: boards: fix spelling in comments 2022-03-02 13:43:38 +00:00
bytcht_es8316.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bytcht_nocodec.c ASoC: intel: boards: bytcht*: Constify static snd_soc_ops 2021-11-30 13:08:10 +00:00
bytcr_rt5640.c ASoC: rt5640: Do not manipulate pin "Platform Clock" if the "Platform Clock" is not in the DAPM 2022-05-24 12:35:08 +01:00
bytcr_rt5651.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
bytcr_wm5102.c ASoC: Intel: bytcr_wm5102: Fix GPIO related probe-ordering problem 2022-06-24 16:21:47 +01:00
cht_bsw_max98090_ti.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
cht_bsw_nau8824.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
cht_bsw_rt5645.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
cht_bsw_rt5672.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
cml_rt1011_rt5682.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
ehl_rt5660.c ASoC: Intel: use MODULE_DEVICE_TABLE with platform_device_id tables 2021-06-22 12:47:09 +01:00
glk_rt5682_max98357a.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
haswell.c ASoC: Intel: boards: fix spelling in comments 2022-03-02 13:43:38 +00:00
hda_dsp_common.c ASoC: Intel: hda_dsp_common: don't multiline PCM topology warning 2021-11-30 13:08:09 +00:00
hda_dsp_common.h ASoC: Intel: hda_dsp_common: use static function in conditional block 2020-09-23 18:47:59 +01:00
kbl_da7219_max98357a.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_da7219_max98927.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_rt5660.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_rt5663_max98927.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_rt5663_rt5514_max98927.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
Kconfig ALSA/ASoC/SOF/Intel: improve support for ES8336-based platforms 2022-03-10 11:33:39 +00:00
Makefile ASoC: Intel: sof_ssp_amp: rename driver and support cs35l41 amplifier 2022-03-02 13:43:43 +00:00
skl_hda_dsp_common.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_hda_dsp_common.h ASoC: intel/skl/hda - fix probe regression on systems without i915 2020-07-22 13:34:24 +01:00
skl_hda_dsp_generic.c ASoC: Intel: boards: handle hda-dsp-common as a module 2021-05-10 13:04:18 +01:00
skl_nau88l25_max98357a.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_nau88l25_ssm4567.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_rt286.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_cirrus_common.c ASoC: Intel: cirrus-common: fix incorrect channel mapping 2022-06-02 16:32:51 +02:00
sof_cirrus_common.h ASoC: Intel: cirrus-common: support cs35l41 amplifier 2022-03-02 13:43:42 +00:00
sof_cs42l42.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_da7219_max98373.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_es8336.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_maxim_common.c ASoC: Intel: boards: add 'static' qualifiers for max98390 routes 2021-12-08 13:07:57 +00:00
sof_maxim_common.h ASoC: Intel: boards: add max98390 2/4 speakers support 2021-11-30 13:08:14 +00:00
sof_nau8825.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_pcm512x.c ASoC: Intel: update sof_pcm512x quirks 2021-08-03 18:26:11 +01:00
sof_realtek_common.c ASoC: Intel: sof_rt5682: Add support for adl_rt1019_rt5682s 2022-05-10 14:01:49 +01:00
sof_realtek_common.h ASoC: Intel: sof_rt5682: Add support for adl_rt1019_rt5682s 2022-05-10 14:01:49 +01:00
sof_rt5682.c ASoC: Intel: sof_rt5682: fix out-of-bounds array access 2022-07-07 17:16:37 +01:00
sof_sdw_common.h ASoC: intel: sof_sdw: remove SOF_RT715_DAI_ID_FIX quirk 2021-11-15 13:26:56 +00:00
sof_sdw_dmic.c ASoC: Intel: sof_sdw: clean-up inclusion of header files 2020-08-24 13:41:36 +01:00
sof_sdw_hdmi.c ASoC: Intel: sof_sdw: remove hdac-hdmi support 2021-06-22 12:47:03 +01:00
sof_sdw_max98373.c ASoC: Intel: sof_sdw: pass card information to init/exit functions 2021-08-13 16:50:40 +01:00
sof_sdw_rt700.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt711_sdca.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt711.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt715_sdca.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt715.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt1308.c ASoC: Intel: sof_sdw: pass card information to init/exit functions 2021-08-13 16:50:40 +01:00
sof_sdw_rt1316.c ASoC: Intel: sof_sdw: pass card information to init/exit functions 2021-08-13 16:50:40 +01:00
sof_sdw_rt5682.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw.c ASoC: Intel: sof_sdw: handle errors on card registration 2022-06-24 16:21:31 +01:00
sof_ssp_amp.c ASoC: Intel: sof_ssp_amp: enable capture stream from cs35l41 2022-05-10 14:01:51 +01:00
sof_wm8804.c ASoC: Intel: boards: remove .nonatomic for BE dailinks 2021-05-10 13:04:21 +01:00