commit | 1c3eced3d4ad7fd0a62c782205c36b96c0091813 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Tue Jun 19 15:44:37 2018 +0300 |
committer | Jani Nikula <jani.nikula@intel.com> | Tue Jun 19 17:41:44 2018 +0300 |
tree | ce70ee9ed2897c75c725e9f7eb3429c7af3979ad | |
parent | ad193bc6206d3ee2fc39fe29a2525333faf1afd9 [diff] |
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