kernel_samsung_a53x/sound/soc/intel/boards
Pierre-Louis Bossart a8d9ec11c2 ASoC: Intel: boards: harden codec property handling
[ Upstream commit c50f126b3c9ebb77585838726a3a490ad33b92cd ]

In current ACPI-based devices, the DSDT does not include any of the
properties required by the codec driver. This is not an ACPI
limitation proper since the _DSD method could be used, as done for
Camera and SoundWire in newer platforms. For legacy devices, there is
unfortunately no other option than using a work-around: we add
properties to the codec device from the machine driver.

To avoid any issues with the codec driver being unbound, we need to
keep a reference to the codec device until the card is removed.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Co-developed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210813151116.23931-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 721858823d7c ("ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 22:25:35 +01:00
..
bdw-rt5650.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bdw-rt5677.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
broadwell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bxt_da7219_max98357a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bxt_rt298.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bytcht_cx2072x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bytcht_da7213.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bytcht_es8316.c ASoC: Intel: boards: harden codec property handling 2024-11-18 22:25:35 +01:00
bytcht_nocodec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bytcr_rt5640.c ASoC: Intel: boards: harden codec property handling 2024-11-18 22:25:35 +01:00
bytcr_rt5651.c ASoC: Intel: boards: harden codec property handling 2024-11-18 22:25:35 +01:00
cht_bsw_max98090_ti.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cht_bsw_nau8824.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cht_bsw_rt5645.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cht_bsw_rt5672.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cml_rt1011_rt5682.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ehl_rt5660.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
glk_rt5682_max98357a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
haswell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_dsp_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_dsp_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kbl_da7219_max98357a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kbl_da7219_max98927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kbl_rt5660.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kbl_rt5663_max98927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kbl_rt5663_rt5514_max98927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_hda_dsp_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_hda_dsp_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_hda_dsp_generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_nau88l25_max98357a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_nau88l25_ssm4567.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
skl_rt286.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_da7219_max98373.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_maxim_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_maxim_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_pcm512x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_rt5682.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_dmic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_hdmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_max98373.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt700.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt711.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt711_sdca.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt715.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt715_sdca.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt1308.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt1316.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_sdw_rt5682.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sof_wm8804.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00