diff options
author | Brent Lu <brent.lu@intel.com> | 2024-09-12 20:03:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-12 13:31:47 +0100 |
commit | 2c80bcc27557b5db4aca8a0c621fc7d5cd10cf7e (patch) | |
tree | 898626c47898ec9e3f10781ecacb324f8dab7c2e /sound/soc/intel/boards | |
parent | b28b23dea31497548010c248398162ef4c25cfd2 (diff) |
ASoC: Intel: ehl_rt5660: do not check common_hdmi_codec_drv
The variable common_hdmi_codec_drv is always true on SOF platform so
we could remove the reference in machine driver.
Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20240912120308.134762-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r-- | sound/soc/intel/boards/ehl_rt5660.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/intel/boards/ehl_rt5660.c b/sound/soc/intel/boards/ehl_rt5660.c index 26289e8fdd87..90d93e667bd9 100644 --- a/sound/soc/intel/boards/ehl_rt5660.c +++ b/sound/soc/intel/boards/ehl_rt5660.c @@ -256,8 +256,7 @@ static void hdmi_link_init(struct snd_soc_card *card, { int i; - if (mach->mach_params.common_hdmi_codec_drv && - (mach->mach_params.codec_mask & IDISP_CODEC_MASK)) { + if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) { ctx->idisp_codec = true; return; } |