drm/i915/dp: Fix LT debug print in SDP CRC enable
authorArun R Murthy <arun.r.murthy@intel.com>
Tue, 8 Aug 2023 04:20:00 +0000 (09:50 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 14 Aug 2023 04:49:32 +0000 (10:19 +0530)
commit95c23e2085f28e2c763ca202fdc37a1392982c16
tree9b8bdb38c011f079b3e9616bde0d31d07859ca5e
parent58554dbf0991da6a2847b3159594f6306bff978b
drm/i915/dp: Fix LT debug print in SDP CRC enable

The debug print for enabling SDP CRC16 is applicable only for DP2.0, but
this debug print was not within the uhbr check and was always printed.
Fix this by adding proper checks and returning.

v2: Fix typo in commit message (Ankit)

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230808042000.3210715-1-arun.r.murthy@intel.com
drivers/gpu/drm/i915/display/intel_dp_link_training.c