drm/dp_mst: Check crc4 value while building sideband message
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Mon, 3 Feb 2020 12:16:20 +0000 (13:16 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Fri, 28 Feb 2020 12:08:00 +0000 (13:08 +0100)
commitd6b8bbca6bc83b9c57e528b28df6177b9b57e19d
tree59f3563521cf06c264d5036a5d50bb6b77edbbe3
parentcb897542c6d2b34c7203b1a2e030ff35e100eef8
drm/dp_mst: Check crc4 value while building sideband message

Check that computed crc value is matching the one encoded in the message.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200203121620.9002-1-benjamin.gaignard@st.com
drivers/gpu/drm/drm_dp_mst_topology.c