]> www.infradead.org Git - users/hch/misc.git/commit
drm/dp_mst: Simplify error path in drm_dp_mst_handle_down_rep()
authorImre Deak <imre.deak@intel.com>
Tue, 3 Dec 2024 16:02:19 +0000 (18:02 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 5 Dec 2024 14:18:58 +0000 (16:18 +0200)
commitb559b68d2761739b7c2e44d6fa59092b0d03e9ed
treeb4676129c537593306d04bc19165dbc974598049
parent4d49e77a973d3b5d1881663c3f122906a0702940
drm/dp_mst: Simplify error path in drm_dp_mst_handle_down_rep()

Simplify the error return path in drm_dp_mst_handle_down_rep(),
preparing for the next patch.

While at it use reset_msg_rx_state() instead of open-coding it.

Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241203160223.2926014-4-imre.deak@intel.com
drivers/gpu/drm/display/drm_dp_mst_topology.c