commit | bd1f64df3135ea50827a36dfa3b15d81249e1a37 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 13 18:20:53 2020 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Mar 18 17:52:36 2020 +0200 |
tree | 4b098f7c1d7c5ac95d4665bb69eac29dac0ff779 | |
parent | 5f706b4a3bd68e5982879bb60f7bb27698e759b3 [diff] |
drm/edid: Clarify validate_displayid() Throw out the magic '5' from validate_displayid() and replace with the actual thing we mean sizeof(header)+checksum. Also rewrite the checksum loop to be less hard to parse for mere mortals. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200313162054.16009-9-ville.syrjala@linux.intel.com Reviewed-by: Alex Deucher <alexander.deucher@amd.com>