Skip to content

Commit 79003e6

Browse files
committed
drm/i915: Use the passed in encoder
Just use the passed in encoder instead of digging it out via the legacy drm_connector->encoder pointer (which we'll want to stop using). Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Ramalingam C <[email protected]>
1 parent b7d02c3 commit 79003e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/display/intel_audio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
707707
DRM_DEBUG_DRIVER("ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
708708
connector->base.id,
709709
connector->name,
710-
connector->encoder->base.id,
711-
connector->encoder->name);
710+
encoder->base.base.id,
711+
encoder->base.name);
712712

713713
connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2;
714714

0 commit comments

Comments
 (0)