]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: reduce magic when updating the EDID block checksum
authorJani Nikula <jani.nikula@intel.com>
Thu, 31 Mar 2022 18:45:09 +0000 (21:45 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 1 Apr 2022 14:44:46 +0000 (17:44 +0300)
commitddf9c71d287cdf0ee7c5c5a2d07428a91fd881ad
tree7092babf2ce0934285217775e5f9352ea431968c
parentaae5cd5e713477a32944b194ce5f36adb7f6cea1
drm/edid: reduce magic when updating the EDID block checksum

The code modifying the EDID block should not need to do tricks to fix
the checksum. We have a function for computing the checksum, use it.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5a11435419d804a58ef356c0b9acf445cffc1354.1648752228.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c