From: Tomi Valkeinen Date: Fri, 10 Apr 2015 09:48:37 +0000 (+0300) Subject: OMAPDSS: DISPC: check if scaling setup failed X-Git-Tag: omap-for-v4.3/legacy-v2-signed~177^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce17b48da85d89769609c4302a016a1af63cfda;p=pandora-kernel.git OMAPDSS: DISPC: check if scaling setup failed The DISPC's scaling code seems to presume that decimation always succeeds, and so we always do find a suitable downscaling setup. However, this is not the case, and the algorithm can fail. When that happens, the code just proceeds with wrong results, causing issues later. Add the necessary checks to bail out if the scaling algorithm failed. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed