drm/i915/audio: constify ELD pointers
authorJani Nikula <jani.nikula@intel.com>
Tue, 19 Jun 2018 12:44:37 +0000 (15:44 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 19 Jun 2018 14:41:44 +0000 (17:41 +0300)
commit1c3eced3d4ad7fd0a62c782205c36b96c0091813
treece70ee9ed2897c75c725e9f7eb3429c7af3979ad
parentad193bc6206d3ee2fc39fe29a2525333faf1afd9
drm/i915/audio: constify ELD pointers

The hooks aren't supposed to modify the ELD, so use const pointer. As a
drive-by fix, use drm_eld_size() to log ELD size.

Suggested-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180619124437.10982-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_audio.c