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 <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b28b23d commit 2c80bcc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)