]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: SOF: Intel: pci-cnl: Allow DSPless mode
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 4 Apr 2023 09:21:11 +0000 (12:21 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 4 Apr 2023 11:42:39 +0000 (12:42 +0100)
set the dspless_mode_supported flag to true for cnl/cfl/cml family to
allow DSPless mode.

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-9-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/pci-cnl.c

index 4c0c1c369dcd8a8ffb1fec3d9de2360730e9f0f2..8895508a0be6d7dbc6285b85a5f78972c58e0565 100644 (file)
@@ -30,6 +30,7 @@ static const struct sof_dev_desc cnl_desc = {
        .chip_info = &cnl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/cnl",
@@ -62,6 +63,7 @@ static const struct sof_dev_desc cfl_desc = {
        .chip_info = &cnl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/cnl",
@@ -94,6 +96,7 @@ static const struct sof_dev_desc cml_desc = {
        .chip_info = &cnl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/cnl",