drm/i915: fix an error code in intel_modeset_all_tiles()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 7 Jan 2020 13:03:22 +0000 (16:03 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Jan 2020 14:04:31 +0000 (14:04 +0000)
commit953cac3ec55fbf53f66e95e9c9bbd261da68fff1
tree132a658c8d5193d5da2d316ccb919d6a00a1a79f
parent62bf5465b26d1f502430b9c654be7d16bf2e242d
drm/i915: fix an error code in intel_modeset_all_tiles()

There is a cut and paste bug so we return the wrong error code.

Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get added to the state with full modeset")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200107130322.gdk5b6jurifr26c2@kili.mountain
drivers/gpu/drm/i915/display/intel_display.c