Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9c31afc authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

OMAP: DSS2: Fix error path in omap_dsi_update()



In the case of an error on calling dsi_update_screen_l4(), a
successful framedone callback is still sent to panel-taal. An
error should be returned to taal_update() instead.

Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent 451cfbfc
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2920,7 +2920,12 @@ int omap_dsi_update(struct omap_dss_device *dssdev,

		dsi_update_screen_dispc(dssdev, x, y, w, h);
	} else {
		dsi_update_screen_l4(dssdev, x, y, w, h);
		int r;

		r = dsi_update_screen_l4(dssdev, x, y, w, h);
		if (r)
			return r;

		dsi_perf_show("L4");
		callback(0, data);
	}