Skip to content

Commit 5237617

Browse files
ujfalusiplbossart
authored andcommitted
ASoC: SOF: pcm: Remove non existent CONFIG_SND_SOC_SOF_COMPRESS reference
The SND_SOC_SOF_COMPRESS is not valid Kconfig option, remove it. At the same time remove the also the declaration of the non existent sof_compressed_ops. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 7875ebc commit 5237617

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

sound/soc/sof/pcm.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,11 +899,7 @@ void snd_sof_new_platform_drv(struct snd_sof_dev *sdev)
899899
pd->pointer = sof_pcm_pointer;
900900
pd->ack = sof_pcm_ack;
901901

902-
#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMPRESS)
903-
pd->compress_ops = &sof_compressed_ops;
904-
#endif
905902
#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_PROBES)
906-
/* override cops when probe support is enabled */
907903
pd->compress_ops = &sof_probe_compressed_ops;
908904
#endif
909905
pd->pcm_construct = sof_pcm_new;

sound/soc/sof/sof-priv.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,6 @@ int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev,
545545
enum snd_sof_fw_blk_type blk_type, u32 offset, size_t size,
546546
const char *name, enum sof_debugfs_access_type access_type);
547547

548-
/*
549-
* Platform specific ops.
550-
*/
551-
extern struct snd_compress_ops sof_compressed_ops;
552-
553548
/*
554549
* DSP Architectures.
555550
*/

0 commit comments

Comments
 (0)