OpenCloudOS-Kernel/sound/soc/sof/intel
Pierre-Louis Bossart 95fa7a62e1
ASoC: SOF: Intel: hda: simplify NHLT handling
The existing code does an init/free for each piece of information
needed. We can instead initialize the NHLT table in the .probe() and
free it in the .remove() callback.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220421201946.1547041-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-23 00:16:26 +01:00
..
Kconfig ASoC: SOF: Kconfig: Make SND_SOC_SOF_HDA_PROBES tristate 2022-04-19 16:30:31 +01:00
Makefile ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
apl.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
atom.c ASoC: SOF: Rename snd_sof_get_status() and add kernel log level parameter 2021-12-23 13:38:26 +00:00
atom.h ASoC: SOF: avoid casting "const" attribute away 2021-12-17 11:06:16 +00:00
bdw.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
byt.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
cnl.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
ext_manifest.h ASoC: SOF: ext_manifest: parse cavs extra config data elem 2020-11-27 17:23:05 +00:00
hda-bus.c ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended 2021-11-05 12:58:11 +00:00
hda-codec.c ASoC: SOF: Intel: fix build issue related to CODEC_PROBE_ENTRIES 2021-12-06 13:49:30 +00:00
hda-common-ops.c ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
hda-ctrl.c ASoC: SOF: Intel: hda-ctrl: apply symmetry for DPIB 2021-12-13 19:32:47 +00:00
hda-dai.c ASoC: SOF: Make sof_widget_setup/free IPC agnostic 2022-03-18 16:04:35 +00:00
hda-dsp.c ASoC: SOF: Drop 'header' parameter from tx_message() API 2022-04-04 08:39:09 +01:00
hda-ipc.c ASoC: SOF: Intel: Convert to use the generic set_stream_data_offset ops 2022-03-11 13:41:07 +00:00
hda-ipc.h ASoC: SOF: Intel: hda: Add sof_tgl_ops for TGL platforms 2020-08-27 14:22:23 +01:00
hda-loader.c ASoC: SOF: Intel: hda: expose some codeloader functions 2022-04-19 12:03:45 +01:00
hda-pcm.c Make the SOF pcm_hw_params DSP op IPC agnostic 2022-03-11 20:21:12 +00:00
hda-probes.c ASoC: SOF: Convert the generic probe support to SOF client 2022-02-10 15:19:12 +00:00
hda-stream.c ASoC: SOF: Intel: hdac_ext_stream: consistent prefixes for variables/members 2022-02-09 14:36:14 +00:00
hda-trace.c ASoC: SOF: Intel: hdac_ext_stream: consistent prefixes for variables/members 2022-02-09 14:36:14 +00:00
hda.c ASoC: SOF: Intel: hda: simplify NHLT handling 2022-04-23 00:16:26 +01:00
hda.h ASoC: SOF: Intel: hda: simplify NHLT handling 2022-04-23 00:16:26 +01:00
icl.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
pci-apl.c ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
pci-cnl.c ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
pci-icl.c ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
pci-tgl.c ASoC: SOF: Intel: hda: use common ops across platforms 2022-04-19 12:03:40 +01:00
pci-tng.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
shim.h ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00
tgl.c ASoC: SOF: Intel: add IP identifier 2022-04-19 12:03:46 +01:00