drm/msm: dpu: Don't continue after error in atomic_check
authorSean Paul <[email protected]>
Wed, 12 Sep 2018 13:54:59 +0000 (09:54 -0400)
committerRob Clark <[email protected]>
Thu, 4 Oct 2018 00:24:53 +0000 (20:24 -0400)
commit5923005d6a62567a59db1ec3cffc317d46a25143
tree0fafef42c9e8cf2ad7b868ba11b8a634768f7dd2
parent2682cefea4c8078adeba4d74b7286e38fb631208
drm/msm: dpu: Don't continue after error in atomic_check

There's no benefit in falling out of the if, just return directly.

Changes in v2:
- None

Reviewed-by: Jeykumar Sankaran <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c