summaryrefslogtreecommitdiff
path: root/mm/cma.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-04-10 12:48:37 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-17 15:44:28 +0300
commit3ce17b48da85d89769609c4302a016a1af63cfda (patch)
tree1628bcb8d33d4742ad714bdf57ebf008d55c156a /mm/cma.c
parentc582935c00227b4efc79630b149b1f077d7716b2 (diff)
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 <tomi.valkeinen@ti.com>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions