ASoC: Intel: sof_rt5682: Remove conditional dpcm_capture setting
authorYong Zhi <yong.zhi@intel.com>
Wed, 22 Mar 2023 07:50:12 +0000 (09:50 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Mar 2023 13:17:37 +0000 (13:17 +0000)
The dpcm_capture is set unconditionally, we can drop the conditional
setting of it.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230322075012.23463-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c

index 2eec328..76ee2e3 100644 (file)
@@ -793,7 +793,6 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
                        }
                        links[id].init = max_98390_spk_codec_init;
                        links[id].ops = &max_98390_ops;
-                       links[id].dpcm_capture = 1;
 
                } else {
                        max_98357a_dai_link(&links[id]);