drm/i915/mst: Fix .mode_valid_ctx() return values
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Nov 2023 14:50:26 +0000 (16:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Nov 2023 15:06:11 +0000 (17:06 +0200)
commitc1799032d2ef6616113b733428dfaa2199a5604b
tree6a77dc16513d49feb67f249317597da4cb96050e
parente0ef2daa8ca8ce4dbc2fd0959e383b753a87fd7d
drm/i915/mst: Fix .mode_valid_ctx() return values

.mode_valid_ctx() returns an errno, not the mode status. Fix
the code to do the right thing.

Cc: stable@vger.kernel.org
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fixes: d51f25eb479a ("drm/i915: Add DSC support to MST path")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127145028.4899-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp_mst.c