Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/dp_mst: Remove stream count assert from intel_dp_check_mst_status()

There doesn't seem to be a reason to assert for a non-negative stream
counter in intel_dp_check_mst_status() in particular, remove it. There
is now an equivalent assert in intel_dp_mst_dec_active_streams().

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250404150310.1156696-4-imre.deak@intel.com

-2
-2
drivers/gpu/drm/i915/display/intel_dp.c
··· 5004 5004 bool link_ok = true; 5005 5005 bool reprobe_needed = false; 5006 5006 5007 - drm_WARN_ON_ONCE(display->drm, intel_dp->mst.active_links < 0); 5008 - 5009 5007 for (;;) { 5010 5008 u8 esi[4] = {}; 5011 5009 u8 ack[4] = {};