drm/vc4: Add correct stop condition to vc4_dsi_encoder_disable iteration
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 15 Apr 2021 15:18:16 +0000 (16:18 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:18 +0000 (16:04 +0000)
commit06ec8b13f26223682e7656b9cbb9d2b3f09cd3f5
tree0ac835c982ff0af177e42e3fdfed985e0c583275
parentd62070be655f6719b5aecc39730ac335b3b2feea
drm/vc4: Add correct stop condition to vc4_dsi_encoder_disable iteration

vc4_dsi_encoder_disable is partially an open coded version of
drm_bridge_chain_disable, but it missed a termination condition
in the loop for ->disable which meant that no post_disable
calls were made.

Add in the termination clause.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_dsi.c