Skip to content

Commit 2c80bcc

Browse files
brentlubroonie
authored andcommitted
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>
1 parent b28b23d commit 2c80bcc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sound/soc/intel/boards/ehl_rt5660.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ static void hdmi_link_init(struct snd_soc_card *card,
256256
{
257257
int i;
258258

259-
if (mach->mach_params.common_hdmi_codec_drv &&
260-
(mach->mach_params.codec_mask & IDISP_CODEC_MASK)) {
259+
if (mach->mach_params.codec_mask & IDISP_CODEC_MASK) {
261260
ctx->idisp_codec = true;
262261
return;
263262
}

0 commit comments

Comments
 (0)